Truquen is a Discord bot that allows users to play the popular Argentinian card game, Truco. With Truquen, you can create private games with your friends and enjoy playing Truco in the comfort of your own Discord server.
To install Truquen, please follow the instructions below:
- Clone the repository using the following command:
git clone https://github.com/nahuel-borda/truquen.git
- Navigate to the cloned directory using the following command:
cd truquen
- Install the required packages using the following command:
pip install -r requirements.txt
-
Create a Discord bot account and obtain its token. You can follow the instructions here to create a bot account and obtain its token.
-
Create a
.env
file in the root directory of the project and add the following line to it:
DISCORD_TOKEN=<your-bot-token-here>
- Start the bot using the following command:
python main.py
That's it! You should now have Truquen up and running on your Discord server.
To start a game of Truco with Truquen, simply type !truco play
in a channel where Truquen is present. This will create a private game that only you and your friends can join.
You can use the !truco help
command to see a list of available commands and their usage.
If you'd like to contribute to Truquen, please follow the instructions below:
- Fork the repository and clone it to your local machine.
- Create a new branch for your changes.
- Make your changes and test them locally.
- Commit your changes with a clear and concise commit message.
- Push your changes to your forked repository.
- Create a pull request and describe your changes.