Git Product home page Git Product logo

discord-bot's People

Contributors

dependabot[bot] avatar ronniegeraghty avatar

Watchers

 avatar  avatar

discord-bot's Issues

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

Add wiki

Add wiki with links to all useful docs sites for different libraries and examples being used.

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.

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

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"

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.