djs-builder 0.6.1 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/handler/starter.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -238,6 +238,7 @@ module.exports = {
|
|
|
238
238
|
|
|
239
239
|
```js
|
|
240
240
|
cooldown : 5, /// cooldown in seconds
|
|
241
|
+
fastUse : true, /// fast use command without prefix
|
|
241
242
|
permissions : ["ADMINISTRATOR"], /// permission for slash command
|
|
242
243
|
ownerOnly : true ,/// only owner can use slash command
|
|
243
244
|
devOnly : true /// only dev can use slash command
|
package/handler/starter.js
CHANGED
|
@@ -146,7 +146,7 @@ async function starter(client, options) {
|
|
|
146
146
|
//////////////////////////////////////////* prefix run !////////////////////////////////////////////////////////
|
|
147
147
|
|
|
148
148
|
client.on("messageCreate", async (message) => {
|
|
149
|
-
|
|
149
|
+
|
|
150
150
|
if (message.author.bot) return;
|
|
151
151
|
|
|
152
152
|
const content = message.content.trim();
|