BeetleBot is a simple lolchess.gg scraper with Discord API integration which fetches TFT patch notes every half an hour and sends the latest patch notes to the designated Discord channel.
- Download the executable file for your operating system in Releases tab.
- Get your
bot token
from https://discord.com/build/app-developers. - Get the
channel id
where the patch notes will be sent to. - Enter your
bot token
andchannel id
when the terminal prompts you to do so upon running the executable.
- Clone the repository
git clone https://github.com/fosq/BeetleBot.git
- Find your platform for your operating system and architecture from
go tool
:
go tool dist list
- Compile the build to your platform with the command:
GOOS=youroperatingsystem GOARCH=yourarchitecture go build
- e.g. For Windows 64-bit:
GOOS=windows GOARCH=amd64 go build
- For Linux 64-bit:
GOOS=linux GOARCH=amd64 go build
- Run the executable file with the name
discordbot
BeetleBot automatically scrapes latest patches every half an hour and sends the newest patch notes if a difference to the previously saved patch was found OR when
!print
is invoked. (doesn't check for latest patch, just sends the currently saved patch notes)
To check for updates immediately, type:
!update
To purge previous messages (up to 100), type:
!purge <number> (e.g. !purge 30)