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

Update Discord bot to have intents, which are now required #12

Open
johnmaruska opened this issue Apr 1, 2022 · 0 comments
Open

Update Discord bot to have intents, which are now required #12

johnmaruska opened this issue Apr 1, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@johnmaruska
Copy link
Owner

When executing command lein run discord the following error occurs

Error:

"Syntax error compiling at (/private/var/folders/1f/ysm16fhn63b_wdxkl9_6z_z80000gp/T/form-init9148203851891235014.clj:1:125).",

Message:

"Intents are required as of v8 of the API",

Trace:

  :trace
  [...
   [hub.discljord.core$start_BANG_ invokeStatic "core.clj" 35]
   [hub.discljord.core$start_BANG_ invoke "core.clj" 31]
   [hub.discljord.core$main invokeStatic "core.clj" 58]
   [hub.discljord.core$main doInvoke "core.clj" 57]
   ...
   [hub.core$_main invokeStatic "core.clj" 23]
   [hub.core$_main doInvoke "core.clj" 21]
   ...]
@johnmaruska johnmaruska added the bug Something isn't working label Apr 1, 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

1 participant