GithubHelp home page GithubHelp logo

evalbot's Introduction

Eval Bot

A small discord bot to interface with python-discord's snekbox.

This bot simply extracts the relevant functionality from Python Discord's bot.

Usage

To use this bot, you need to set up the following environment variables (you can use .env):

Token Value Description
BOT_TOKEN str The discord token for your bot.
ADMINS int The ID of the "admins" role, which is used in certain permission checks.
MODS int The ID of the "mods" role, which is used in certain permission checks.
CHANNELS [int] A comma separated list of IDs for channel in which commands are enabled.
SNEKBOX_URL str The URL to use for API requests to snekbox. Should include the /eval portion of the URL.
PASTEBIN_URL str The URL to use for pastebin. Of the shape: "/{key}" ({key} is a constant)
TRASHCAN str An emoji to use as the "trashcan". Of the shape: <:trashcan:637136429717389331>

The following variables can optionally be set:

Token Value Description
BOT_SENTRY_DSN str To be used when logging in to sentry.
LOG_FILTER str
BOT_PREFIX str An optional prefix to use for the bot. By default, only mentions will invoke it.

evalbot's People

Contributors

hassanabouelela 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.