Roxie Gibson
|
9641f9341c
|
increased the counter to 20 to avoid it filling the cache and failing to find a post. Also added a new way to detect a sub not existing because reddit changed the json outputs for the redesign.
|
6 anos atrás |
Roxie Gibson
|
776585c764
|
moved get requests to aiohttp for quicker response times, moved all commands as shell's for gelbooru clone for now, and implemented the same dupe system that was in subreddit. Whole cog has been refactored.
|
6 anos atrás |
Roxie Gibson
|
1075146319
|
forgot to change this due to refactoring.
|
6 anos atrás |
Roxie Gibson
|
2de6448d8c
|
version change.
|
6 anos atrás |
Roxie Gibson
|
baa7377b65
|
Refactoring to make imports a lot easier and not have three versions of the blacklisted function. Lots of tiny formatting refactoring done too.
|
6 anos atrás |
Roxie Gibson
|
d393c439d4
|
fixed nsfw blacklisted tags command and also the description.
|
6 anos atrás |
Roxie Gibson
|
a4bb09d16e
|
fixed unban command and fixed checking for blacklist command
|
6 anos atrás |
Roxie Gibson
|
331558bd46
|
fixed backups
|
6 anos atrás |
Roxie Gibson
|
fcfa0d968d
|
fixed blacklist command due to it moving during 1.5
|
6 anos atrás |
Roxie Gibson
|
894743d914
|
changelog update
|
6 anos atrás |
Roxie Gibson
|
9da32077d9
|
added a timer to the np output.
|
6 anos atrás |
Roxie Gibson
|
567002f855
|
added checks so that slowmode doesnt trigger for mods. I thought this was in before but must have been removed.
|
6 anos atrás |
Roxie Gibson
|
1e13e6ff25
|
improved now playing formatting.
|
6 anos atrás |
Roxie Gibson
|
aaf459222f
|
updated the play command so that the queuing doesnt break.
|
6 anos atrás |
Roxie Gibson
|
1c58180827
|
fixed force skip
|
6 anos atrás |
Roxie Gibson
|
b2837b1c6f
|
fixed force skip
|
6 anos atrás |
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 anos atrás |
Roxie Gibson
|
2e816b1f5d
|
added volume fixes and added force skipping for admins.
|
6 anos atrás |
Roxie Gibson
|
efb91b3892
|
removed print function in nsfw that was for debug.
|
6 anos atrás |
Roxie Gibson
|
dd8af7304f
|
fucking grammar i swear
|
6 anos atrás |
Roxie Gibson
|
0e961fc359
|
added pat aliase to headpat command
|
6 anos atrás |
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 anos atrás |
Roxie Gibson
|
8d4a198f0b
|
why cant i write?
|
6 anos atrás |
Roxie Gibson
|
e0af30d828
|
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 anos atrás |
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 anos atrás |
Roxie Gibson
|
1299d5cce7
|
fixed guild command because it was baaaaaad.
|
6 anos atrás |
Roxie Gibson
|
3a36bf6e13
|
Forgot some colour ;-;
|
6 anos atrás |
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 anos atrás |
Roxie Gibson
|
e43246dda6
|
All functions now have a lil documentation.
|
6 anos atrás |
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 anos atrás |
Roxie Gibson
|
4e19a378f9
|
Added a quicker way to queue videos, added playlist support, moved queuing into its own function.
|
6 anos atrás |
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 anos atrás |
Roxie Gibson
|
9ba4278cc6
|
Queue command fixed.
|
6 anos atrás |
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 anos atrás |
Roxie Gibson
|
1516fb8b5e
|
added a function to clean up the cache on boot.
|
6 anos atrás |
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 anos atrás |
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 anos atrás |
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 anos atrás |
Roxie Gibson
|
bad23a8137
|
oops didnt check if these settings work but they do now cause they actually change the type of the variables.
|
6 anos atrás |
Roxie Gibson
|
859a59a2ce
|
some spelling changes and word changes
|
6 anos atrás |
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 anos atrás |
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 anos atrás |
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 anos atrás |
Roxie Gibson
|
ef972fa739
|
useless import removed
|
6 anos atrás |
Roxie Gibson
|
ea08a9d84d
|
Voice added to the settings and the settings object. Volume now has sanity checking and permission checking.
|
6 anos atrás |
Roxie Gibson
|
4195796dae
|
skipping works woo
|
6 anos atrás |
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 anos atrás |
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 anos atrás |
Roxie Gibson
|
fa0fdd3e67
|
Volume fixed because wtf
|
6 anos atrás |
Roxie Gibson
|
2616dd44cd
|
Added CommandError handling
|
6 anos atrás |