You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(node:479) UnhandledPromiseRejectionWarning: TypeError: this.client.db.get is not a function
at GuildExt.get (/home/runner/Central-Discord-Anti/structures/Guild.js:16:35)
at GuildExt.get prefix [as prefix] (/home/runner/Central-Discord-Anti/structures/Guild.js:12:25)
at CommandHandler.prefix (/home/runner/Central-Discord-Anti/core/client.js:15:62)
at CommandHandler.parseCommand (/home/runner/Central-Discord-Anti/node_modules/discord-akairo/src/struct/commands/CommandHandler.js:770:65)
at CommandHandler.handle (/home/runner/Central-Discord-Anti/node_modules/discord-akairo/src/struct/commands/CommandHandler.js:361:37)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:479) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 10)
someone help
The text was updated successfully, but these errors were encountered:
Discord is constantly updating its discord.js variables and language. This bot may be pretty outdated seeing that I made it a couple of months ago. I'll see to it that I update the bot with a more up-to-date system. Thanks for the feedback
the complete error:
(node:479) UnhandledPromiseRejectionWarning: TypeError: this.client.db.get is not a function
at GuildExt.get (/home/runner/Central-Discord-Anti/structures/Guild.js:16:35)
at GuildExt.get prefix [as prefix] (/home/runner/Central-Discord-Anti/structures/Guild.js:12:25)
at CommandHandler.prefix (/home/runner/Central-Discord-Anti/core/client.js:15:62)
at CommandHandler.parseCommand (/home/runner/Central-Discord-Anti/node_modules/discord-akairo/src/struct/commands/CommandHandler.js:770:65)
at CommandHandler.handle (/home/runner/Central-Discord-Anti/node_modules/discord-akairo/src/struct/commands/CommandHandler.js:361:37)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:479) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 10)someone help
The text was updated successfully, but these errors were encountered: