Update Client.js
This commit is contained in:
1 parent
3273cfd0e1
commit
ce67b668d5
1 file changed
+1
-1
@@ -40,7 +40,7 @@ class Client extends Discord.Client {
|
||||
async start(token) {
|
||||
var tempCommandFiles = fs.readdirSync("./Commands").filter((file) => file.endsWith(".js"));
|
||||
|
||||
if (supportbot.Suggestions) {
|
||||
if (supportbot.DisableSuggestions) {
|
||||
tempCommandFiles = tempCommandFiles.filter(item => item !== "suggest.js");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user