Skip to content
/ BeetleBot Public

Discord bot for fetching lolchess.gg Teamfight Tactics patch notes

Notifications You must be signed in to change notification settings

fosq/BeetleBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

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.

Getting Started

  1. Download the executable file for your operating system in Releases tab.
  2. Get your bot token from https://discord.com/build/app-developers.
  3. Get the channel id where the patch notes will be sent to.
  4. Enter your bot token and channel id when the terminal prompts you to do so upon running the executable.

Compiling your own build

  1. Clone the repository
git clone https://github.com/fosq/BeetleBot.git
  1. Find your platform for your operating system and architecture from go tool:
go tool dist list
  1. 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
  1. Run the executable file with the name discordbot

Usage

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)

About

Discord bot for fetching lolchess.gg Teamfight Tactics patch notes

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages