https://github.com/iamdevlinph/gaming-discord-bot
Gaming discord bot
https://github.com/iamdevlinph/gaming-discord-bot
Last synced: 2 months ago
JSON representation
Gaming discord bot
- Host: GitHub
- URL: https://github.com/iamdevlinph/gaming-discord-bot
- Owner: iamdevlinph
- Created: 2024-07-13T10:16:59.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-03-05T02:28:55.000Z (3 months ago)
- Last Synced: 2025-03-05T03:25:52.133Z (3 months ago)
- Language: TypeScript
- Size: 401 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Prerequisites
As of writing
1. node `v18.18.2`
2. yarn `1.22.22`## Development
1. `yarn install`
2. `yarn run dev` to run
3. Secure `DISCORD_TOKEN`
4. Add bot to server by https://discord.com/oauth2/authorize?client_id=1261592303068385402Based on [Creating your first Discord bot using TypeScript](https://dev.to/fellipeutaka/creating-your-first-discord-bot-using-typescript-1eh6)
#### Commands
| Command | Description |
| ------------ | --------------------------------------------- |
| build | Builds the app |
| dev | Run app on dev mode |
| start | Builds and starts the app. Use for production |
| | |
| cache:delete | Deletes the cache file |
| cache:create | Create the cache file |
| cache:reset | Runs cache delete and create |#### ENV File
| Name | Required? | Description |
| ------------------ | --------- | -------------------------------------------------- |
| DISCORD_TOKEN | Yes | Discord token |
| DISCORD_CLIENT_ID | Yes | Discord client id |
| ADMIN_IDS | Yes | Comma separated list of IDs with admin permissions |
| DEVELOPER_GUILD_ID | No | Deploy commands for testing and developer |
| SKIP_CACHE | No | Do not create cache |## Production
No fancy stuff yet
1. Go to [Digital Ocean](https://cloud.digitalocean.com/droplets/)
2. Pull changes
3. Install packages if needed
4. Run app by `pm2 start npm --name "gaming-bot" -- run start`
5. Or build before reload
6. Or reload by `pm2 reload gaming-bot`## Add to server
Add bot to server by https://discord.com/oauth2/authorize?client_id=1177698138178470000
NOTE: The client id here is different from the testing one.
## Commands
- /dn
- cap
- armor
- drop - armor fragments location
- efm
- debuffs - list efm debuffs and related destiny immunity
- nest - returns lunar drops of nest
- lunar_frags - returns nests with that lunar fragment
- conquest
- create - creates a conquest party
- start - starts a conquest and returns a line up
- end - ends a conquest
- join - join a conquest
- /genshin
- version
- /valorant
- buy_vp - returns how much currency needed to buy valorant points
- /ping
- /about## Features
Dragon Nest SEA
- [x] Town cap stats `/dn cap`
- [x] Armor fragment drops
- [x] Current EFM debuff (in town cap stats)
- [x] Current EFM ordeal
- [1/2] Nest lunar fragment drop info `/dn nest lunar`
- [ ] Mark nest/dungeon as done (nests, efm, etc...)
- [ ] Manage conquestGenshin Impact
- [x] Current version
- [ ] Mark spiral abyss as done for the current period
- [ ] Mark imaginarium theater as done for the current period