-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Updating James to work with slash commands #173
base: master
Are you sure you want to change the base?
Conversation
They should now all work with slash commands, and also a little refactoring.
Timeout works differently as a slash command than the normal command. It can no longer handle multiple users at a time but the time can be given in units of seconds, minutes, hours, days, or weeks and a reason can be given (though I didn't have it do anything with that reason yet). |
Missed ModerationSlashCommand before
Changed the way Playlist.remove() works so it takes an index in the array holding the queue instead of the number corresponding to where the song to be removed would appear in the queue embed and changed Audio.remove() accordingly. Also removed a couple of (apparently) unused immports.
A few changes to the Audio classes
For whatever reason, I didn't upload changes I made here before. Doing that now.
Somewhere along the line, code got replicated here, I'm guessing it was when merging the master into this branch.
This should be the id of the server/guild the commands should be registered in.
To do:
Finish this to do list
Test everything
Ensure coding style uniformity
Lookup, Show and Showimage currently do not work as slash commands, I'm not sure what the issue is.
Update to slash commands:
Fix bugs: