Roxie Gibson
|
1c58180827
|
fixed force skip
|
6 years ago |
Roxie Gibson
|
b2837b1c6f
|
fixed force skip
|
6 years ago |
Roxie Gibson
|
8cb7ff2edc
|
Fixed a bug that made the volume command go away. Also made it possible to display the volume of the bot.
|
6 years ago |
Roxie Gibson
|
2e816b1f5d
|
added volume fixes and added force skipping for admins.
|
6 years ago |
Roxie Gibson
|
efb91b3892
|
removed print function in nsfw that was for debug.
|
6 years ago |
Roxie Gibson
|
0e961fc359
|
added pat aliase to headpat command
|
6 years ago |
Roxie Gibson
|
a3ca04695e
|
Commands made case-insensitive, removed pointless second error in `iam` commands, fixed pm issues with on_message event in cc cog.
|
6 years ago |
Roxie Gibson
|
bffc196b60
|
Added subreddit cache system and fixed a bug that was failing to exit the loop when a post was found, making the commands slow af. Made the command more efficient and added helpful comments.
|
6 years ago |
Roxie Gibson
|
1299d5cce7
|
fixed guild command because it was baaaaaad.
|
6 years ago |
Roxie Gibson
|
3a36bf6e13
|
Forgot some colour ;-;
|
6 years ago |
Roxie Gibson
|
35a1270d95
|
Fixed some bugs with the queue logic when pausing or stopping, made join an admin command, added error handling in the join command, outputs to all commands, improved current outputs, added yt alias for the play command, added a check to see if the user is in the voice channel when using the play command and have that check ignore admins, fixed logic for whether a video needs to be played or queued, added better commenting to all commands, and added remove command to remove items from the queue. Voice should be finished.
|
6 years ago |
Roxie Gibson
|
e43246dda6
|
All functions now have a lil documentation.
|
6 years ago |
Roxie Gibson
|
e6d41f37e6
|
Cleaning up voice now. Renamed music to voice, made sure all variables are cleaned up after music is played and all that. Better documentation, fixed skipping as ithas some maths errors
|
6 years ago |
Roxie Gibson
|
4e19a378f9
|
Added a quicker way to queue videos, added playlist support, moved queuing into its own function.
|
6 years ago |
Roxie Gibson
|
67c19be435
|
added a way to safely stop the background task queuelogic so that if the bot gets the stop command it will safely close that task without error.
|
6 years ago |
Roxie Gibson
|
9ba4278cc6
|
Queue command fixed.
|
6 years ago |
Roxie Gibson
|
60ee1ef102
|
Cleaned up the play and stream commands. Now stream jsut invokes command with an added option to pass to the player so that it knows what to do. Also made queuing quicker and more efficient by not downloading the data of the thing to play twice. Queue command also added to show the queue. A lil basic atm. Also options added to the ffmpeg options so that it doesnt output those annoying errors due to the arch maintainer of ffmpeg being a dummy. Also fixing queuing issues.
|
6 years ago |
Roxie Gibson
|
1516fb8b5e
|
added a function to clean up the cache on boot.
|
6 years ago |
Roxie Gibson
|
33589b95c5
|
Added more things to the player object to reference in other commands; moved queue logic to be a background task as then it will actually work and won't run too many times like before; added cooldowns to play and stream commands to try and reduce errors when users try and play too many things at once in a short time, this was caused by the speed issues; now cleans playlist when ;stop is issued; nowplaying command now has better output. Also cleaned up the todo list. Still a bit to good before ill let anyone touch this. Probably the most tested part of roxbot.
|
6 years ago |
Roxie Gibson
|
e90e0be81d
|
gitignore file to keep the cache folder here so the voice cog doesn't break when moving it to other systems.
|
6 years ago |
Roxie Gibson
|
e2dc6284ed
|
Added skip voting, duration checking, better way to store what to play next internally for compatability with stream command but it's kinda slower, stream now can be queued, renamed while_playing to queue_logic, simplified volume if check, added admin_or_mod check to the stop command, now_playing now differentiates by guild, added a now playing command.
|
6 years ago |
Roxie Gibson
|
bad23a8137
|
oops didnt check if these settings work but they do now cause they actually change the type of the variables.
|
6 years ago |
Roxie Gibson
|
859a59a2ce
|
some spelling changes and word changes
|
6 years ago |
Roxie Gibson
|
e042b4113e
|
added settings for max duration for videos. Also added some type checking when it comes to setting the ratio and duration to make sure they are intergers.
|
6 years ago |
Roxie Gibson
|
5211d3f162
|
made the admin_or_mod predicate external to the check function so it can be used externally by other parts of the codebase.
|
6 years ago |
Roxie Gibson
|
930d7e793e
|
Added a check in stop so the client doesnt try to stop the music player if nothings playing. Added pause and resume commands. Renamed the while playing function to be reflective of the queuing it handles. Changed error output on the volume command.
|
6 years ago |
Roxie Gibson
|
ef972fa739
|
useless import removed
|
6 years ago |
Roxie Gibson
|
ea08a9d84d
|
Voice added to the settings and the settings object. Volume now has sanity checking and permission checking.
|
6 years ago |
Roxie Gibson
|
4195796dae
|
skipping works woo
|
6 years ago |
Roxie Gibson
|
331bf578ad
|
Playlist stuff works now. Mostly. Obviously just rudimentry but it can play, queue up stuff, then play them. Needs some more tho to be useable.
|
6 years ago |
Roxie Gibson
|
c2a23ae044
|
Some command name changes, and added automatic detection so the bot knows where you are when you tell it to join but not play.
|
6 years ago |
Roxie Gibson
|
fa0fdd3e67
|
Volume fixed because wtf
|
6 years ago |
Roxie Gibson
|
2616dd44cd
|
Added CommandError handling
|
6 years ago |
Roxie Gibson
|
801e59e56f
|
Literally just copied the voice example from the github. Obviously needs a lot of work since its basic. Duh
|
6 years ago |
Roxie Gibson
|
297addf50f
|
Nickname should no longer be broken
|
6 years ago |
Roxie Gibson
|
a18c523d5a
|
added some unescapes to the reddit output cause it was outputting the html codes ;-;
|
6 years ago |
Roxie Gibson
|
7afbbb0299
|
MissingPermissions and BotMissingPermissions error handling should look nicer now.
|
6 years ago |
Roxie Gibson
|
34d44720aa
|
BadArgument error handling made more useful.
|
6 years ago |
Roxie Gibson
|
b0b6df99aa
|
Purge should now ignore the message that invoked it.
|
6 years ago |
Roxie Gibson
|
710340f0f4
|
left it on dev mode smh
|
6 years ago |
Roxie Gibson
|
0629c1ccfe
|
error handling for cooldowns improved so that it doesn't spew out a floating point number at like 15 decimal places and rounds it up to 2 dp.
|
6 years ago |
Roxie Gibson
|
4cb49a5897
|
added purge command
|
6 years ago |
Roxie Gibson
|
7eb15a2cae
|
Roll v3.0 had like one bug but its all okay now.
|
6 years ago |
Terra B
|
254b01470c
|
Commented code so people can see what it does
everything but the voodoo magic regex
|
6 years ago |
Terra B
|
63f3d0886a
|
peramiterised safety limits
consider adding to server config later
|
6 years ago |
Terra B
|
fdddf29ad5
|
added hard upper limit to dice rolled
(10 for verbose, 1000 for non verbose)
|
6 years ago |
Roxie Gibson
|
38ef807f23
|
New error handling check to make sure ;-; doesn't trigger CommandNotFound. Works since command's shouldn't have punctuation at the beginning anyway.
|
6 years ago |
Roxie Gibson
|
f99686d942
|
New error handling check to make sure ;-; doesn't trigger CommandNotFound. Works since command's shouldn't have punctuation at the beginning anyway.
|
6 years ago |
Roxie Gibson
|
ac516ee3e0
|
Better looking output for the subreddit command.
|
6 years ago |
Roxie Gibson
|
2e23c376da
|
some basic reddit cog refactoring done so it isn't terrible. Idk if it will improve speed but its nice to pretend it will.
|
6 years ago |