Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hey its saying this.client.db.get is not a function #6

Open
snipoy opened this issue May 21, 2021 · 1 comment
Open

hey its saying this.client.db.get is not a function #6

snipoy opened this issue May 21, 2021 · 1 comment

Comments

@snipoy
Copy link

snipoy commented May 21, 2021

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

@blvunt
Copy link
Owner

blvunt commented Aug 24, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants