https://github.com/arasgungore/arithmator-discord-bot
A Node.js app that implements a Discord bot for performing basic and advanced arithmetic operations.
https://github.com/arasgungore/arithmator-discord-bot
arithmetic arithmetic-computation arithmetic-expression arithmetic-expression-evaluator arithmetic-operators arithmetics calculator calculator-app calculator-application discord discord-api discord-app discord-application discord-bot discord-js discord-token node node-js node-projects nodejs
Last synced: 4 months ago
JSON representation
A Node.js app that implements a Discord bot for performing basic and advanced arithmetic operations.
- Host: GitHub
- URL: https://github.com/arasgungore/arithmator-discord-bot
- Owner: arasgungore
- License: mit
- Created: 2023-12-13T07:18:26.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-28T12:34:13.000Z (almost 2 years ago)
- Last Synced: 2025-03-16T21:21:22.316Z (7 months ago)
- Topics: arithmetic, arithmetic-computation, arithmetic-expression, arithmetic-expression-evaluator, arithmetic-operators, arithmetics, calculator, calculator-app, calculator-application, discord, discord-api, discord-app, discord-application, discord-bot, discord-js, discord-token, node, node-js, node-projects, nodejs
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# arithmator-discord-bot
A Node.js app that implements a Discord bot for performing basic and advanced arithmetic operations.
## Features
- Supports basic arithmetic operations (addition, subtraction, multiplication, division).
- Supports advanced mathematical operations (logarithm, exponentiation, sine, cosine, tangent, cotangent).
- Easy to use with the `!calculate` command.
## Getting Started
### Installation
1. Navigate to the project directory:
```bash
cd discord-bot
```
2. Install dependencies:
```bash
npm install
```
3. Create a `.env` file in the project root and add your Discord bot token:
```
DISCORD_TOKEN=your_bot_token_here
```
### Usage
1. Run the bot:
```bash
node bot.js
```
2. Invite the bot to your Discord server using the OAuth2 URL generated in the Discord Developer Portal.
3. In any text channel, type `!calculate` followed by a mathematical expression to see the result.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Acknowledgments
- Thanks to the [discord.js](https://discord.js.org/) library for making it easy to work with the Discord API.
## Author
👤 **Aras Güngöre**
- LinkedIn: [@arasgungore](https://www.linkedin.com/in/arasgungore)
- GitHub: [@arasgungore](https://github.com/arasgungore)