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

Hi, im trying to get my bot to say all ingame messages to discord but cant seem to get it to do so. It will take messages in discord to ingame, but not the other way.
It has appropriate permissions, all green lights with its token. Its assigned to a private channel.
thanks for any help
No problem, you just have to add the discord channel you want the chat to go.

Like this .DSAY:discordChannelHere:[Friends]<{player_name}>{player_chat}

Replace discordChannelHere with the discord channel you want the chat to go to.
 
Oh, just noticed it is in the player any chat event. You can do it that way, but I would have it separated out into player public chat, player party chat and player friends chat.

There should be events already setup. Just add the discord channel name like the example above.
 
thanks for the fast reply. got it working. Im now trying to get bloodmoon showing in discord, does this look right?
.BLOODMOON:.DSAY:server-log:The next bloodmoon is in {bloodmoon_next} days!||The next bloodmoon is tonight!

Great bit of software btw
 
I'd also like to suggest there being a conditional of it ignoring a character like a ! command that you dont want sent to discord.
 
.BLOODMOON:.DSAY:server-log:The next bloodmoon is in {bloodmoon_next} days!||The next bloodmoon is tonight!

No, there is no .BLOODMOON command.

Check out the horde time event

I'd also like to suggest there being a conditional of it ignoring a character like a ! command that you dont want sent to discord.

Could be on the list. ;)

Also, you can join our discord here. Quicker service there.