Giter Club home page Giter Club logo

beetlebot's Introduction

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.