Giter VIP home page Giter VIP logo

magic_bot's Introduction

Discord MTG Bot

Welcome to the Discord MTG Bot repository! This bot provides Magic: The Gathering (MTG) card information and translations within the Discord platform.

Features

  • Card Information: Retrieve detailed information about MTG cards, including mana cost, type, rarity, artist, and more.
  • Card Name Translation: Translate MTG card names from one language to another, facilitating communication among players of different linguistic backgrounds.
  • Help Command: Accessible help command to guide users on how to interact with the bot effectively.

Installation

To use the Discord MTG Bot, follow these steps:

  1. Clone the repository to your local machine.
  2. Install the required dependencies by running running the setup.sh script.
  3. Set up a Discord bot application and obtain its API key.
  4. Create a .env file and add your Discord bot API key using the format DISCORD_API_KEY=your_api_key_here.
  5. Run the bot script using python bot.py.

Usage

Once the bot is running, users can interact with it using the following commands:

  • Magic info [lang] [cardName]: Get information about MTG cards.
  • Magic tr [original_lang] [cardName] [target_lang]: Translate MTG card names into other languages.
  • Magic help [lang]: Get help information.

Acknowledgements

  • Special thanks to the developers of the discord.py library and the MTG API for making this project possible.

magic_bot's People

Contributors

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