https://github.com/drumkq/examplediscordbot
Example giveaway universal discord bot written in typescript
https://github.com/drumkq/examplediscordbot
discord discord-bot discord-js mongo mongoose nodej typescript
Last synced: about 2 months ago
JSON representation
Example giveaway universal discord bot written in typescript
- Host: GitHub
- URL: https://github.com/drumkq/examplediscordbot
- Owner: Drumkq
- License: mit
- Created: 2023-06-29T11:20:23.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-29T12:41:21.000Z (almost 3 years ago)
- Last Synced: 2026-01-03T17:15:11.765Z (5 months ago)
- Topics: discord, discord-bot, discord-js, mongo, mongoose, nodej, typescript
- Language: TypeScript
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ExampleDiscordBot
Example giveaway universal discord bot written in typescript
# How to set up
Rename file ".env.schema" to ".env"
You only need to configure 4 fields for the bot to work properly:
1. In the TOKEN field, enter your bot's secret token;
2. In the ID field, enter your bot's client ID;
3. In the PREFIX field, enter the prefix you want for your bot;
4. In the DB_CON_STR field enter the MongoDB database address.
# Commands
All commands work only on the discord server
## Slash commands
```
giveaway - creates a new draw on the server
delete-giveaway - deletes a giveaway
finish-giveaway - completes the giveaway
join-giveaway - giveaway name
```
## Text commands
```
ping - replies "pong"
```