faw-bot is a very simple discord bot with some basic commands.
my favourite command is the oj
command which gives the current and historical prices of orange juice.
- oj
- Python 3.6 or higher
- discord.py library
-
Clone the repository.
git clone https://github.com/faw01/faw-bot.git
-
Go to the project directory.
cd faw-bot
-
Install the requirements.
pip install --U -r requirements.txt
-
Add your bot token.
Open the
bot_token.py
file and replace'REDACTED'
with your bot token. If you don't have one, you can create a bot in the Discord Developer Portal. -
Run the bot.
python main.py
Your bot should now be up and running!
/faw hello
- responds with 'Hello, World!'/faw info
- sends an embedded message containing information./faw ping
- responds with latency in milliseconds./faw oj
- you know what it does.