Code Monkey home page Code Monkey logo

racetime-bot's Introduction

racetime-bot

Discord

A Python library to help you create chat bots for racetime.gg.

What is this for?

The racetime application allows categories to set up their own bots, which can interact with ongoing races in order to supply information and similar actions.

This library provides a basic template for creating these bots.

Setup guide

Requirements

  • Python 3.7 or greater.

Installation

Install via pip/PyPI:

pip install racetime-bot

How to get started

You should read the racetime-app documentation on Category bots to understand what you need to get started. You don't need a thorough understanding of the technical side of things to build your own bot, but it is helpful to be able to understand how messages are structured, and how they are used.

For an example of this library in use, you can look at the implementation of ootr-randobot. This should give you a decent insight into how you need to structure your bot. Feel free to re-use the code given in that repository in order to generate a bot yourself!

Contributing

If you have something you wish to contribute, feel free to submit a pull request on this repo. You can also talk on our #dev Discord channel following the link at the top of this page.

If you wish to report an issue, please open a ticket on the main site repo here: https://github.com/racetimeGG/racetime-app/issues/new

racetime-bot's People

Contributors

deains avatar tcprescott avatar wooferzfg avatar hannahherbig avatar dependabot-preview[bot] avatar

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.