IgorKowalczyk / discord-ssh

🚀 Discord bot for using shell commands remotely through Discord
https://igorkowalczyk.github.io/discord-ssh
MIT License
32 stars 6 forks source link

Error: Used disallowed intents #299

Closed Mork29 closed 1 month ago

Mork29 commented 1 month ago

Environment

Running on Steam Deck Desktop Mode.

Steps To Reproduce

Launched using npm run start

Software Version

3.0.0

Expected Behavior

Not entirely sure what I'm expecting from this point.

Actual Behavior

error - Error: Used disallowed intents appears after info - Logging in...

Screenshots

No response

Severity

Trivial

Priority

Low

Type

Other

Additional Information

This is likely entirely user error. I'm very new to both Linux and Discord. I'm trying to proof of concept for a Project Zomboid server I'm an admin for. I was hoping to be able to use this tool to send commands to this server hosted on DebianOS. At the moment I am testing and working out how to do this with SteamOS as it is all I have in the Linux world.

Thanks for any insight you may be able to provide.

Mork29 commented 1 month ago

I'm not sure what I've done but I'm now at error - DiscordAPIError[50013]: Missing Permissions

I'm fairly certain now that my troubles are purely user inflicted. Sorry for the trouble, I will play with the Discord bot I made.

Mork29 commented 1 month ago

The bot works! I still receive the error in the above post, but it responds to commands from the Discord and can Start and Kill the server, not sure how to quit it cleanly yet, but thats a me problem.

Thank you for this wonderful tool.

IgorKowalczyk commented 1 month ago

Check if you have enabled all intents the Discord Developer Portal

IgorKowalczyk commented 1 month ago

I'm not sure what I've done but I'm now at error - DiscordAPIError[50013]: Missing Permissions

I'm fairly certain now that my troubles are purely user inflicted. Sorry for the trouble, I will play with the Discord bot I made.

And also check if the bot has required permissions in the server. The bot requires permission to send messages.