You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
or server.Broadcast($"Discord Message: {message.author.username} - {message.content}");
Sorry if this is not called functions my english is not the best
The examples are not the best but i dont search a hook. i mean something like: PrintToChat("[DISCORD] " + message.author.username + ": " + message.content);
But not to chat rather to cmd. I try to run a rcon command if a discord message is incoming.
And i dont know how to run these command.
Another thing is how i can give someone a role in discord.
Like if someone type a message ingame the user in discord get another role.
e.x. from "Player" to "Member"
The text was updated successfully, but these errors were encountered:
Where i find these functions like.
or
server.Broadcast($"Discord Message: {message.author.username} - {message.content}");
Sorry if this is not called functions my english is not the best
The examples are not the best but i dont search a hook. i mean something like:
PrintToChat("[DISCORD] " + message.author.username + ": " + message.content);
But not to chat rather to cmd. I try to run a rcon command if a discord message is incoming.
And i dont know how to run these command.
Another thing is how i can give someone a role in discord.
Like if someone type a message ingame the user in discord get another role.
e.x. from "Player" to "Member"
The text was updated successfully, but these errors were encountered: