This is a Custom built bot for my old discord server which includes some moderation and fun commands.
All commands must be used with the prefix "."
iq -> Says a random number and jokes about your IQ
search -> Search Something in google and returns the first result
yopino -> Spanish Joke about instagram polling system
ping -> Bot's Latency
time -> Current Time
link -> Invite to the current server
avatar -> Returns the avatar of a user
invite -> 1 use Invite to the current server
minecraft -> Minecraft server's IP
poll -> start a poll
math -> Math Commands Help
eq -> Solves a quadratic equation.
Usage: .eq <a> <b> <c>
sum -> Sum of two numbers
Usage: .sum <a> <b>
sub -> Subtract two numbers
Usage: .sub <a> <b>
mult -> Multiply two numbers
Usage: .mult <a> <b>
div -> Divide two numbers
Usage: .div <a> <b>
ANGLES MUST BE IN RADIANS
IF you want to use pi, just type "pi" as the number
.sin -> sin(a)
.cos -> cos(a)
.tg -> tg(a)
- Install a python version between 3.5 and 3.8 from https://www.python.org/downloads/
- Install discord.py:
# Linux/macOS
python3 -m pip install -U discord.py
# Windows
py -3 -m pip install -U discord.py
- Open the code with your prefered editor and place your Discord Bot Key (Obtained from the Discord Developer Portal) in the "KEY" Variable in the end of the Python_Bot.py
- Run the code through your editor or through terminal running the Python_Bot.py file:
python3 .\cogs\Python_Bot.py