This discord bot can be used to query any Unreal Tournament 2004 server and displays their response in the current text channel, servers that don't have port + 1 open won't be able to be queried.
Download: https://github.com/scottadkin/Discord-U ... s/tag/v1.0
Github Repo: https://github.com/scottadkin/Discord-U ... rver-Query
Features:
- Query and UT2004 server with command .q : to display server name, current gametype, map, player count, player information, and a clickable link to join the server.
- Ability to save a list of servers to a database file that then can be used for shorthand commands instead of the option above.
- Ability to display all servers added in the database in one response.
- Ability to display all active servers in the database(servers that have at least 1 player in them)
- Ability to display a clickable link to a server using .ip command.
- Auto query option, you can set the bot up in a selected text channel to keep an auto updated list of detailed information about each server. It's recommended to set this in an empty/new text channel as the bot will delete previous messages to keep the channel tidy for easy viewing.
Youtube demo video: https://www.youtube.com/watch?v=y6GCW_1bLVg
[yt]y6GCW_1bLVg[/yt]

Bot commands
User Commands
- `.servers` Displays basic server information for all the servers added to the database.
- `.active` Displays basic server information for all servers added that have players on it.
- `.q` Displays the server's name, current gametype, map, and players.
- `.q :` Displays a server's name, current gametype, map, and players.
- `.ip` Displays clickable link to the server.
Admin Commands
- `.allowchannel` Enables the bot to be used in the current channel.
- `.deletechannel` Disables the bot from being used in the current channel.
- `.allowrole ` Enables users with the specified role to use admin commands.
- `.deleterole ` Disables users with the specified role to use the admin commands.
- `.addserver :` Adds the specified server to the database.
- `.deleteserver ` Deletes the server with the specified id.
- `.setauto` Sets the current channel as the auto query channel. This can also be used to reset the auto query making it post all new responses.
- `.stopauto` Disables auto query channel.
