[DOC] How to Create / Setup a Discord bot with RAT

Prompt with the transition to the version 02004 the bot refuses to save the room that he should listen to ... what I'm doing is wrong.

Probably another alpha bug, I'll look into it. When I changed database backends, there is now a case sensitivity issue that wasn't there before with the old database. So, I'm fixing these as they are found (not easy to just search/replace).
 
Prompt with the transition to the version 02004 the bot refuses to save the room that he should listen to ... what I'm doing is wrong.
 
Prompt with the transition to the version 02004 the bot refuses to save the room that he should listen to ... what I'm doing is wrong.

Probably another alpha bug, I'll look into it. When I changed database backends, there is now a case sensitivity issue that wasn't there before with the old database. So, I'm fixing these as they are found (not easy to just search/replace).
 
when you find the time to fix it !? Without a bot it's very bad .....
And I noticed when unloading the chat from the database the file was empty ... I tried to set different filters - it does not work ...
 
I work on RAT when I can. RAT is not a paid piece of software with support SLAs or any other such thing, I do it because I enjoy it. I have a lot going on right now. A new boss and job changes, my dad has Alzheimer's, I'm selling my house, my girlfriend was just diagnosed with a brain tumor, etc...

Basically, my personal life is more important to me, and that is something people are just going to have to accept and understand. I'm sorry if my schedule doesn't work well with your desires, but that's just how it is.
 
I work on RAT when I can. RAT is not a paid piece of software with support SLAs or any other such thing, I do it because I enjoy it. I have a lot going on right now. A new boss and job changes, my dad has Alzheimer's, I'm selling my house, my girlfriend was just diagnosed with a brain tumor, etc...

Basically, my personal life is more important to me, and that is something people are just going to have to accept and understand. I'm sorry if my schedule doesn't work well with your desires, but that's just how it is.

I hope everything works out okay Trekkan, I wanted to commend you for the awesome work! Thanks for the time investment and great server tool!
 
  • Like
Reactions: Trekkan
upload_2018-4-19_8-43-15.png

Hi, I got this when tried to open the link in your instruction (Client id was removed just to do the image). Is it normal? Thanks
 
OK, I just was login with other user, now the link just move me to login screen and test connection failed in RAT.
 
Is it possible to send discord commands to RAT to activate events and such? Like spawn a zed and stuff?
 
having problems getting my Discord bot to stay connected. Also, as you can see, it is only showing my "general", but isn't showing my 7 Days to Die channel, or any other channel for that matter. Attached are my RAT Discord settings
 

Attachments

  • 7d2drat.png
    7d2drat.png
    26.9 KB · Views: 28
The connection issue, I'll need more information on?

The not seeing all of the channels, this is a permissions issue. Basically, your bot doesn't have access to see those other channels. Odds are, you need to move the Role in Discord that you have assigned your bot, higher up the list. Basically, click and drag the Bot role, higher up in the list.
 
Ok, I saw the permissions, like See Channels, but that didn't seem to help, but I can play with that more. Not sure what you're talking about with "higher up on the list" exactly.

What kind of information do you need for the connection issue? I copy the token and the bot name over and click "save" and it says it connects, giving me a green "Discord Connection" positive light, but then it turns red after that.
 
Discord roles are hierarchical in nature. Meaning, the role listed in Discord Server Settings at the top, is the most "powerful" above any roles under it. So whatever role you have assigned to your bot, needs to have permissions that #1, allow it to read/write messages, but also if you want to ban a person from Discord through it (as an example), the bot would have to have a role higher than the person the bot is trying to ban.

Also, as a test. Try setting your bots permissions to "Administrator" and see if that works. I think the Discord API might have changed and could be causing some issues as well.