Skip to content

bug: #99

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

Closed
Guillaume0001 opened this issue Jul 25, 2022 · 1 comment
Closed

bug: #99

Guillaume0001 opened this issue Jul 25, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Guillaume0001
Copy link

Hello, I have this error when I launch the bot:

TypeError: discord_js_1.Intents is not a constructor
at /home/runner/slash-commands/node_modules/discord-logs/lib/index.js:47:19
at step (/home/runner/slash-commands/node_modules/discord-logs/lib/index.js:33:23)
at Object.next (/home/runner/slash-commands/node_modules/discord-logs/lib/index.js:14:53)
at /home/runner/slash-commands/node_modules/discord-logs/lib/index.js:8:71
at new Promise ()
at __awaiter (/home/runner/slash-commands/node_modules/discord-logs/lib/index.js:4:12)
at module.exports (/home/runner/slash-commands/node_modules/discord-logs/lib/index.js:41:54)
at Object. (/home/runner/slash-commands/index.js:11:24)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
Error [TokenInvalid]: An invalid token was provided.
at Client.login (/home/runner/slash-commands/node_modules/discord.js/src/client/Client.js:214:52)
at Object. (/home/runner/slash-commands/index.js:26:8)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:17:47 {
[Symbol(code)]: 4
}

Do you now what is the problem ?

@Guillaume0001 Guillaume0001 added the bug Something isn't working label Jul 25, 2022
@FnrDev
Copy link
Owner

FnrDev commented Jul 25, 2022

it's because we are updating discord.js to version 14, and there are some lib's doesn't support version 14 yet!

@FnrDev FnrDev closed this as completed Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants