| Crates.io | tshock_discord_monitor |
| lib.rs | tshock_discord_monitor |
| version | 0.1.3 |
| created_at | 2020-09-04 02:45:36.869268+00 |
| updated_at | 2020-09-04 02:45:36.869268+00 |
| description | A discord bot that uses the TShock REST API to show player count and forward messages Discord -> Terraria |
| homepage | https://github.com/comp500/tshock-discord-monitor |
| repository | https://github.com/comp500/tshock-discord-monitor |
| max_upload_size | |
| id | 284503 |
| size | 90,046 |
A discord bot that uses the TShock REST API to show player count and forward messages Discord -> Terraria.
tshock-discord-monitor.toml with the following contents:discord_token = "The Discord token you copied earlier"
tshock_token = "Your TShock REST API token"
tshock_url = "http://localhost:7878/"
discord_channel = "Your Discord channel's ID"
Then you can simply run the tshock-discord-monitor executable to start the bot! To get the channel ID for the channel you would like to use, see https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID-.
If the TShock server isn't running on the same system as the system running the bot, replace localhost with the IP of that system.