discord-bot's People
discord-bot's Issues
Rework
Rework entire bot
Music Playback System
-
Play Command
-
Pause Command
-
Stop Command
-
Next Command
-
Player plays next song when finished with current song
Error Logging system
Look into good error logging tools and systems to better capture errors and crashes to find the bug that caused it.
Link checking
make sure the application is trying to execute the youtube or Soundcloud download in a try catch loop so if the download fails, it doesn't crash it just replies saying the link was no good.
BUG: Crash during RPS Command
Crash output:
Starting Bot
Initializing Bot
Loading Commands
Loading Raw Commands
Loading Event Listeners
➕ Adding Command: echo
➕ Adding Command: ping
➕ Adding Command: rps
➕ Adding Command: server
➕ Adding Command: user
➕ Adding Raw Command: add-slash-command
➕ Adding Event Listener: interactionCreate
➕ Adding Event Listener: ready
Connected to MongoDB
Ready! Logged in as Ron_Bot#0527
Command Triggered: ronniegerag#5753 triggered Command: rps, on Server: Ronnie & Sophie in channel #general
- /rps
- User chose: rock - Bot chose: scissor - Winner: ronniegerag#5753
Command Triggered: ronniegerag#5753 triggered Command: rps, on Server: Ronnie & Sophie in channel #general- /rps
- User chose: rock - Bot chose: paper - Winner: Ron_Bot#0527
Command Triggered: ronniegerag#5753 triggered Command: rps, on Server: Ronnie & Sophie in channel #general- /rps
- User chose: scissor - Bot chose: rock - Winner: Ron_Bot#0527
Command Triggered: ronniegerag#5753 triggered Command: rps, on Server: Ronnie & Sophie in channel #general- /rps
- User chose: paper - Bot chose: rock - Winner: ronniegerag#5753
Command Triggered: ronniegerag#5753 triggered Command: rps, on Server: Ronnie & Sophie in channel #general- /rps
Command Triggered: ronniegerag#5753 triggered Command: rps, on Server: Ronnie & Sophie in channel #new-channel- /rps
- User chose: scissor - Bot chose: paper - Winner: ronniegerag#5753
C:\Users\Ronnie\Desktop\Coding\Coding Projects\Discord_Bot\src\commands\RPSCommand.ts:72
i.client.users.cache.get(winner).tag
^
TypeError: Cannot read properties of undefined (reading 'tag')
at RPSCommand. (C:\Users\Ronnie\Desktop\Coding\Coding Projects\Discord_Bot\src\commands\RPSCommand.ts:72:49)
at Generator.next ()
at C:\Users\Ronnie\Desktop\Coding\Coding Projects\Discord_Bot\src\commands\RPSCommand.ts:8:71
at new Promise ()
at __awaiter (C:\Users\Ronnie\Desktop\Coding\Coding Projects\Discord_Bot\src\commands\RPSCommand.ts:4:12)
at InteractionCollector. (C:\Users\Ronnie\Desktop\Coding\Coding Projects\Discord_Bot\src\commands\RPSCommand.ts:52:43)
at InteractionCollector.emit (node:events:402:35)
at InteractionCollector.emit (node:domain:475:12)
at InteractionCollector.handleCollect (C:\Users\Ronnie\Desktop\Coding\Coding Projects\Discord_Bot\node_modules\discord.js\src\structures\interfaces\Collector.js:108:12)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Add action for creating new version on push to master
Create a Github action that does the following on a push to master:
- automatically figure out what the next minor version would be (+0.0.1)
- Tag branch with new version number
- Push tag to repo
- Automate the build and publish of the container to ghcr
Polling command
Add a command that lets a user start a poll
Add wiki
Add wiki with links to all useful docs sites for different libraries and examples being used.
Error: Error: Subscriptions.ts - line 119 Track AudioPlayer on "error"
Error: Error: Subscriptions.ts - line 119 Track AudioPlayer on "error"
when play button was pressed while playing music. Could have been caused by the button being pressed rapidly.
Add test action for branches merging to master
Implement Play Music Commands
Requires: #38
Add Play again button to RPS Ending Message
Let the final message of the RPS flow include a Play again button that starts a new round.
Add -help flag for all commands to get details on command.
Add -help flag for all commands to get details on command.
Dockerize Discord bot
Instructions on how to dockerize discord bot: https://github.com/nomsi/docker-discordjs-tutorial/blob/master/3.%20Creating%20the%20Dockerfile%20and%20Running!.md
Add a README
Implement DB connection
Add test build for branches merging to master
Add unsubscribe command
command to unsubscribe from the bots slash commands
Music resumes when new song added to queue
When the current song is paused and a new song is added the queue the current song resumes play when it should stay paused.
Change dispatcher handling
Stop deleting the dispatcher after every song and creating a new one, just play on the old dispatcher.
Once that is implemented, add function to disconnect from voice channel once their is no more music in the queue or the stop command has been issued.
Start Automating Testing
Create an automated testing system.
Go through commands and edit description to include info on available flags
Go through commands and edit descriptions to include info on available flags.
Member join listener
Make a listener that listens for a member being added and sends a welcome message in the general chat.
listener event = GUILD_MEMBER_ADD
RonBot plays entry music when users join voice channel
Discord Plays Pokémon
Feature to allow a discord plays pokemon channel.
Bot will take input from the channel and us it to play pokemon.
- Register basic Gameboy commands
- Be able to turn on and off, can only be done by the admin of the server
- "Help" message will send a reply on how to use the channel with the bot.
- Add the ability to input 3 commands at a time.
- Save ROM State every hour
- Add ability to add number after direction command to do like "down 10"
RPS Vs: Option to play RPS against another user instead of RonBot
Update README
Implement Add Slash Commands
Requires: #38
RawCommand Help
Help command that gives a message to try out the slash commands but also info on all raw commands.
Should be implemented in a way that pulls from all commands and reads their description and all raw command has given a help argument to print that command's specific help message, with examples.
Make the Database Optional
Make the database optional, and add functionality to store the server list as an environment variable.
Add ability to play music from sound cloud
Add workflow to run tests on a pull request to release branch
Configure Dev-Container Env for vscode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.