If someone have this error:
[discord_api.smx] [DISCORD] Couldn't Retrieve Guilds - Fail 0 401
To fix need use Discord-API version:
apart from this, can you make a method where it is possible to use the command itself as an output-console to avoid this error?
[discord_api.smx] [DISCORD] Couldn't Send Message - Fail 0 400
I say this because direct commands such as example sm_slay @all
does not have a response in the output-console.
You whrite: (in discord input commands chat text)
Then the answer: (in discord output commands chat text)
Or maybe you can use the chat reply instead of what I mentioned above, only if it doesn't detect any messages on the console.
[SM] all players dead.
Another question I have, is it possible that you can add some type of cvar or configuration where only specific discord roles can work?
This is to prevent using 2 different chat channels (being able to use only 1 same channel) and so that other people can see the discord console, but cannot use it.
When a Listen Server game takes time to load, the plugin does not load correctly, so the plugin must be reloaded to work correctly, also this generates a problem that the bot sends the message "READY FOR COMMANDS" every time that the plugin reloads.
What I did to "fix" this problem was to install this plugin:
[Any] Delay Command
and Put in my server.cfg (dedicated server) or listenserver.cfg (listening server) this command, example:
sm_delaycmd_rcon 20 sm plugins reload source_command_to_server.smx