Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Go to 'BotClient.js'
Click on 'the file'
Scroll down to 'to the load of commands'
See error
Expected behavior
I have this error trying loading the commands Starting to load commands...
/home/container/node_modules/discord-akairo/src/struct/AkairoHandler.js:137
if (this.modules.has(mod.id)) throw new AkairoError('ALREADY_LOADED', this.classToHandle.name, mod.id);
^
AkairoError [ALREADY_LOADED]: Command 'trivia' is already loaded
at CommandHandler.load (/home/container/node_modules/discord-akairo/src/struct/AkairoHandler.js:137:45)
at CommandHandler.loadAll (/home/container/node_modules/discord-akairo/src/struct/AkairoHandler.js:156:40)
at BotClient._init (/home/container/client/BotClient.js:42:29)
at BotClient.start (/home/container/client/BotClient.js:58:20)
at Object. (/home/container/index.js:12:8)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) {
code: 'ALREADY_LOADED'
}
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [windows]
Browser [chrome]
Version [latest]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior I have this error trying loading the commands Starting to load commands... /home/container/node_modules/discord-akairo/src/struct/AkairoHandler.js:137 if (this.modules.has(mod.id)) throw new AkairoError('ALREADY_LOADED', this.classToHandle.name, mod.id); ^ AkairoError [ALREADY_LOADED]: Command 'trivia' is already loaded at CommandHandler.load (/home/container/node_modules/discord-akairo/src/struct/AkairoHandler.js:137:45) at CommandHandler.loadAll (/home/container/node_modules/discord-akairo/src/struct/AkairoHandler.js:156:40) at BotClient._init (/home/container/client/BotClient.js:42:29) at BotClient.start (/home/container/client/BotClient.js:58:20) at Object. (/home/container/index.js:12:8)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) {
code: 'ALREADY_LOADED'
}
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Add any other context about the problem here.