https://github.com/overloadedorama/mathbotdiscord
A simple bot that does mathematical calculations for Discord
https://github.com/overloadedorama/mathbotdiscord
bot discord discord-bot discord-py math mathematics python python3
Last synced: about 2 months ago
JSON representation
A simple bot that does mathematical calculations for Discord
- Host: GitHub
- URL: https://github.com/overloadedorama/mathbotdiscord
- Owner: OverloadedOrama
- Created: 2018-08-22T20:39:49.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-26T00:17:50.000Z (about 7 years ago)
- Last Synced: 2025-06-02T19:21:12.970Z (about 1 year ago)
- Topics: bot, discord, discord-bot, discord-py, math, mathematics, python, python3
- Language: Python
- Size: 5.86 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MathbotDiscord
A simple Discord bot that does mathematical calculations. Includes basic operations like addition, subtraction, multiplication,
division and exponentation, as well as factorial calculation, Trigometrical functions like sine, cosine and tangent, Logarithms and
calculation of the Fibonacci sequence.
This was written in Python 3.6, so I cannot guarantee it will work on other versions as well. I believe versions prior to 3.5
require some tweaking to work, due to discord.py working a bit differently in these versions.
The project requires an installation of discord.py, and importing the asyncio and math libraries.
## Installing discord.py
To install the library without full voice support, you can just run the following command:
```
python3 -m pip install -U discord.py
```
Otherwise to get voice support you should run the following command:
```
python3 -m pip install -U discord.py[voice]
```
More info on https://github.com/Rapptz/discord.py