Git Product home page Git Product logo

rita-helper-bot's Introduction

RITA-Helper-Bot

For the RITA Discord Bot. It's purpose is to simplify connecting channels together for automatic translation. Currently, it assumes that each language has it's own category, and uses that to figure out a channel's language. A group of channels represent a single channel, split into multiple languages with automatic translation. The bot simplifies setting up the auto-translation by automatically calling !tr channel from <lang1> to <lang2> for <#channel>.

It was roughly put together for usage on a single server. It'll be better to incorporate these changes into the RITA bot itself.

Commands

General

  • $mb ping: Bot replies with "Pong!"

Category

  • $mb category set <language>: Assigns a language to the category of the current channel.
  • $mb category unset <language>: Unsets the language of the category of the current channel.
  • $mb category list: Lists all categories, with their language.
  • $mb category get: Prints the language of the category of the current channel.

Group

  • $mb group create <group>: Creates a new group.
  • $mb group delete <group>: Deletes a group.
  • $mb group list: Lists all groups, with the number of channels in them.
  • $mb group get: Prints the groups of the current channel.

Channel

  • $mb channel add <group>: Adds a channel to a group.
  • $mb channel remove <group>: Removes a channel from the group.

(Un)Linking

Enable bot2bot in RITA first before executing these commmands.

  • $mb (un)link channel: Creates all outgoing translations from the current channel.
  • $mb (un)link group: Creates all outgoing translations for all channels in the group of the current channel.
  • $mb (un)link category: Creates all outgoing translations for all channels in the current category.
  • $mb (un)link all: Creates all outgoing translations.

rita-helper-bot's People

Contributors

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