Coder Social home page Coder Social logo

inklay / pokemon-tcg Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 274 KB

A Discord bot based on the Pokémon trading card game.

Home Page: https://Inklay.net/Pokemon-TCG

License: Apache License 2.0

JavaScript 99.27% Batchfile 0.02% Shell 0.42% Dockerfile 0.28%
discord pokemon tcg bot discord-bot pokemon-tcg

pokemon-tcg's Introduction

Pokemon-TCG

A Discord bot based on the Pokémon trading card game.

Add it to your server

To add the bot to your server, click this link

Usage

tcg help or tcg h shows you the help message

tcg prefix shows the configured prefix for this server

tcg prefix [prefix] sets [prefix] as the configured prefix for this server

tcg language list shows the currently supported language

tcg language [language] sets [language] as the configured language for this server

tcg buy or tcg b lets you buy a new booster (use emoji in reaction to navigate)

tcg money or tcg m gives you money if you have waited long enough (you can do it each hour)

tcg view or tcg v lets you your card collection (use emoji in reaction to navigate)

Host the bot yourself

  • Instal Node.js
  • Clone the repository
  • Locate the clonned repository and launch a terminal
  • Run npm i
  • Create a file named 'token.txt' and put your bot's token inside
  • (Microsoft Windows) Run bot.bat
  • (MacOS & Linux) Run bot.sh

Help translating the bot

If you want to help me translating the bot to new languages, feel free to create a pull request (help is very much appreciated)

Bugs/Issues

If you find a problem in the app, report it on the link below:

https://github.com/Inklay/Pokemon-TCG/issues

pokemon-tcg's People

Contributors

inklay avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

pokemon-tcg's Issues

problems when launching command

the bot this log on discord, all the configuration commands work, but when I want to run the command "tgc money" the bot crashes and says it as an error:

TypeError: Cannot read property ‘client’ of undefined
42822B32-35D5-411A-B6BE-02144E0A753B

error cause at line 13 of file: MessageEmbed.js

Object.defineProperty(this, ‘client’, { value: message.client )

how can i fix this error?

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.