I've been using
the HLDS <-> IRC plugin so far, however everyone is moving to Discord.
So could someone make a HLDS <-> Discord plugin? Basically, chat from server should appear in a Discord chat room, and vice versa. Optionally Discord chat needs a prefix (e.g. "!say"), so server admins can talk in the Discord channel without everything being forwarded to the game server.
Did some research and this is what I found:
Standalone bots
https://github.com/kuoushi/Kuoushi-Bot
Only works one way so far (Discord => game server).
https://github.com/reactiflux/discord-irc
Discord <-> IRC bot. This could work in conjunction with the HLDS <-> IRC AMXX plugin, but the IRC bot would need to be monitored whether it got disconnected for whatever reason. In this case, Discord users wouldn't directly notice that the chat relay is broken. Only that there would never be a response.
Source plugins (would need to be ported to AMXX)
https://forums.alliedmods.net/showthread.php?t=292448
API only, also broken judging by the comments.