Swan is a Discord bot developed using discord.py and SQLAlchemy. Its primary functionality is distributing a certain amount of test coins (a custom EVM-based cryptocurrency) in specific channels to users.
- Distributing test coins.
- Recording each user's number of test coins and the claim time.
-
Clone this repository
git clone https://github.com/filswan/swan-discord-bot.git
-
Install dependencies
pip install -r requirements.txt
pip install python-dotenv
-
Create a
.env
file by following the.env.example
file -
Change the config in config_services.py (set_all_config function)
-
Create a postgres database and fill in the database URL in the
.env
file -
Run the bot
python main.py
Type the command $lag_faucet
or $swan_usdc_faucet
in Discord to claim test coins. Each user is allowed to claim once every six hours.
This project is licensed under the terms of the MIT license. For more details, see the LICENSE file.