Simple Discord Bot written in Python using discord.py 1.5. It has some features like streaming music from youtube, weather forecast, user database and level system.
You need to download following modules :
py -3 -m pip install -U discord.py[voice]
pip install asyncio
pip install requests
pip install beautifulsoup4
pip install urlib
pip install youtube_dl
Remember to install FFmpeg
from https://ffmpeg.org/ and add it to your computer's PATH
!
- Go to https://discordapp.com/developers/applications and create an application.
- Get your bot token and insert it into first line of the
token.txt
file. - Invite your bot to your discord server using developer's discord site on OAuth2 section.
- Launch the bot using
bot.py
file.
Official discord.py docs -> https://discordpy.readthedocs.io/en/latest/index.html