Skip to content

Commit df2d7c1

Browse files
committed
tried fix of index
1 parent 7cfd7b9 commit df2d7c1

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ npm install djs-command-deployer
1616
_The `src` folder it can be any folder. Just the `commands` folder should be a subfolder of the directory your `index.js` is located in._
1717

1818
**Example:**
19+
1920
```
2021
📂src
2122
┣ 📄index.js
@@ -110,7 +111,9 @@ Please see [the example code](https://github.com/The-LukeZ/djs-command-deployer-
110111

111112
### TODO
112113

113-
- [ ] L168 | Add support for sharding
114+
- [ ] L94 | Fix that currentCommands is correct (currently doesn't work and therefore checking for current commands doesn't really work)
115+
116+
- [ ] L166 | Add support for sharding
114117

115118
- [ ] Finish `this.deleteCommand`
116119

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class cDClient extends Client {
9191
`🔁 Started refreshing ${commands.length} global and ${privateCommands.length} guild commands.`
9292
);
9393

94-
// TODO: Update it to client.application.commands and fetch
94+
// TODO: Fix that currentCommands is correct
9595
let currentCommands = this.application.commands.cache;
9696
if (!currentCommands.size)
9797
if (this.isReady()) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "djs-command-deployer",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "",
55
"main": "./index.js",
66
"scripts": { },

0 commit comments

Comments
 (0)