Giter Club home page Giter Club logo

teorantranslate's Introduction

TeoranTranslate

Discord bot that translates English into Teoran, The language of Gwain Saga

ExampleGif

Add to your server!

Configuration

download TeoranTranslate.py and TeoranTranslateData.py. put them in the same directory.

Teoran_emojis folder is not required for bot to function.

install the discord.py package using pip

Run TeoranTranslate.py

Config.json is created automatically on launch of TeoranTranslateBot.py. bot token is in config.json Prefix is adjustable in config.json. Default prefix is "$" If you would like DmLogging set it to "True" and put your discord userid in config.json

Usage

Send a command in a server the bot is in or in a direct message

Translate Commands

  • $translate "string" : Main command of bot, translates anything in quotes into Teoran
  • $translateRaw "string" : Translates a string into Teoran emoji ids (for copying with nitro)
  • $translateEasy "string" : Translates a string into easy to read Teoran.
  • $translateRev "string" : Translates Teoran into English

Other Commands

  • $help : Echoes help message
  • $ping : Echoes latency
  • $echo "string" : Echoes anything you put in quotes
  • $uptime : Echoes uptime of bot

Examples

Correct:

$translate "Geo Ami" translates "Geo Ami".

$translate Gwain translates "Gwain".

Incorrect:

$translate "Marlow" "Deva" only translates "Marlow".

$translate Lanney Agni only translates "Lanney".

Supports any char on keyboard.

Does not support fancy quotes or apostrophes.

Credits

If you would like to use this code just credit me somewhere. Then you can do whatever you like

Contact me

Contact me at Gibgib52#6473 on discord.

Other things

I used GIMP to manually make 128x128 .png's of each Teoran letter for use as a discord emoji.

teorantranslate's People

Contributors

gibgib52 avatar

Watchers

 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.