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

TypeError: ca.guilds.get is not a function #3802

Closed
1 task
ZandercraftGames opened this issue Feb 18, 2020 · 1 comment
Closed
1 task

TypeError: ca.guilds.get is not a function #3802

ZandercraftGames opened this issue Feb 18, 2020 · 1 comment

Comments

@ZandercraftGames
Copy link

Please describe the problem you are having in as much detail as possible:
Whenever the bot needs to create an embed message it outputs the following error:

[#########.........] | postinstall:container: WARN discord.js@12.0.0-dev requir [#########.........] | postinstall:container: WARN discord.js@12.0.0-dev requir [#########.........] | postinstall:container: WARN discord.js@12.0.0-dev requir [#########.........] | postinstall:container: WARN discord.js@12.0.0-dev requir [#########.........] | postinstall:container: WARN discord.js@12.0.0-dev requir [#########.........] | postinstall:container: WARN discord.js@12.0.0-dev requir [#########.........] | postinstall:container: WARN discord.js@12.0.0-dev requir [#########.........] | postinstall:container: WARN discord.js@12.0.0-dev requir [#########.........] | postinstall:container: WARN discord.js@12.0.0-dev requir [#########.........] | postinstall:container: WARN discord.js@12.0.0-dev requir [#########.........] | postinstall:container: WARN discord.js@12.0.0-dev requir [#########.........] | postinstall:container: WARN discord.js@12.0.0-dev requir [#########.........] | postinstall:container: WARN discord.js@12.0.0-dev requir [#########.........] | postinstall:container: WARN discord.js@12.0.0-dev requir [#########.........] | postinstall:container: WARN discord.js@12.0.0-dev requir [#########.........] | postinstall:container: WARN discord.js@12.0.0-dev requir /home/container/build/listeners/client/Ready.js:62
ca.guilds.get("207724893347774474").members.forEach((m) => {
TypeError: ca.guilds.get is not a function
at roles (/home/container/build/listeners/client/Ready.js:62:15)
at Timeout.setInterval [as _onTimeout] (/home/container/build/listeners/client/Ready.js:16:27)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)

Further details:

  • discord.js version: 12.0.0-dev
  • Node.js version: 12.16.0
  • Operating system: Ubuntu 19.04 (inside Docker container)
  • Priority this issue should have: 7/10 - bot needs to be ready very soon for a server that I am on the IT team for.
  • I have also tested the issue on latest master, commit hash:
@RDambrosio016
Copy link
Contributor

RDambrosio016 commented Feb 18, 2020

Please use the Discord server for these issues, this is caused by #3696

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants