1
0
Fork 0
mirror of synced 2024-09-30 09:17:13 +13:00
Commit graph

1573 commits

Author SHA1 Message Date
phxntxm
3d43659ae9 Remove erroneous .name attribute lookup 2017-06-28 05:18:09 -05:00
phxntxm
08bfed110d Use already flattened attribute 2017-06-28 05:11:16 -05:00
phxntxm
575ff60590 Use already flattened attribute 2017-06-28 05:11:00 -05:00
phxntxm
bca36e095b Ensure that message is given before checking for regex statement 2017-06-28 05:03:36 -05:00
phxntxm
94955be495 Correct erroneous attribute 2017-06-28 05:02:12 -05:00
phxntxm
cc35fa377b Add the ability to set custom welcome/goodbye messages 2017-06-28 04:58:53 -05:00
phxntxm
fe7f57e9bb Correct how to get from dict 2017-06-27 22:58:38 -05:00
phxntxm
f4f4fb881e Use the battlerecord class for battlestats 2017-06-27 22:56:08 -05:00
phxntxm
fd8dfb92bc Correct ranking comparisons 2017-06-27 22:48:52 -05:00
phxntxm
1c3cfc7443 Cleanup some of the messages not needed when unrestricting 2017-06-27 22:26:30 -05:00
phxntxm
e794c95c50 Correct the conversion for the restriction options 2017-06-27 22:25:33 -05:00
phxntxm
39353ea6e7 Show rank changes when battles end 2017-06-27 22:05:00 -05:00
phxntxm
fe25f93e61 Show rank changes when battles end 2017-06-27 22:02:44 -05:00
phxntxm
3c49b5ecd8 Show rank changes when battles end 2017-06-27 22:01:47 -05:00
phxntxm
ebc4b0730f Correct match on rating changes 2017-06-27 21:09:16 -05:00
phxntxm
c859377c32 Ensure updates after every battle 2017-06-27 21:08:25 -05:00
phxntxm
d1a1d5974d Add rating changes into the battle outcomes 2017-06-27 20:57:19 -05:00
phxntxm
ab93c3f436 Add the restriction checking decorator to all commands 2017-06-27 19:26:32 -05:00
phxntxm
da114970fb Return the future and the result of the future 2017-06-27 19:14:58 -05:00
phxntxm
5f6615d370 Add a convert method 2017-06-27 19:14:40 -05:00
phxntxm
49ac1ac6f3 Add a method to check our restrictions 2017-06-27 19:14:00 -05:00
phxntxm
ea62d899bf Add the new check_restricted method 2017-06-27 19:13:38 -05:00
phxntxm
9f97f107bc Add a check for if the url given is None 2017-06-27 19:13:14 -05:00
phxntxm
a404763c41 Add a way to list the songs in the current playlist 2017-06-27 19:12:49 -05:00
phxntxm
a8b48bc718 Correct handling of no data returned 2017-06-27 19:12:29 -05:00
phxntxm
9b8e3f3875 Handle errors when downloading songs 2017-06-27 19:12:01 -05:00
phxntxm
0e5e9ab3d4 Support reasons for kick and bans 2017-06-27 19:11:22 -05:00
phxntxm
90930e547f Correct a couple text issues 2017-06-27 19:10:45 -05:00
phxntxm
7983c07a12 Return the future as well as the result, so that we can check the result of the future (that mouthful...) 2017-06-27 17:57:55 -05:00
phxntxm
3c42bc4545 Added the ability to intuitively restrict some things 2017-06-27 16:14:39 -05:00
Phxntxm
c1fb35a9d6 Correct a bit of logic when joining a raffle 2017-06-19 13:54:59 -05:00
phxntxm
345ad7a63c This was supposed to be addition not subtraction 2017-06-19 13:04:51 -05:00
Phxntxm
467cdb57d5 Use the correct form of voice 2017-06-18 13:48:10 -05:00
Phxntxm
601561fc94 Move when the response is lowered 2017-06-17 18:05:40 -05:00
Phxntxm
01ebe5bf21 Setup of raffle specific alerts 2017-06-17 18:04:46 -05:00
Phxntxm
b769c64e01 Setup of Twitch specific alerts 2017-06-17 18:04:36 -05:00
Phxntxm
b9efeefa89 Setup of picarto specific alerts 2017-06-17 18:04:25 -05:00
Phxntxm
fd1fddc450 Split state and voice disconnections 2017-06-17 18:04:11 -05:00
Phxntxm
d1662e1a82 Use default or welcome notifications overrides 2017-06-17 18:03:54 -05:00
Phxntxm
d5c49b2347 Seperation of welcome alerts and default alerts 2017-06-17 18:03:26 -05:00
Phxntxm
0a7cfb42b7 Merge branch 'rewrite' of https://github.com/Phxntxm/Bonfire into rewrite 2017-06-16 20:58:11 -05:00
Phxntxm
43a289750d Add self to globals; catch when the content is too large to print 2017-06-16 17:04:26 -05:00
phxntxm
ce22d44a86 Change the creation of the refreshing task, since call_later can't be used with coroutines 2017-06-16 03:47:49 -05:00
Phxntxm
6ab89c1ba5 Remove errant class creations/correct conversion of string to int 2017-06-15 21:42:41 -05:00
Phxntxm
e6efcf9042 Check if URL provided is None 2017-06-15 21:37:53 -05:00
Phxntxm
df37b78718 Ensure the channel given exists 2017-06-15 21:30:12 -05:00
Phxntxm
d5a5820983 Remove pending change (shouldn't have been commited) 2017-06-15 21:28:25 -05:00
Phxntxm
a09452247e Ensure the channel given exists 2017-06-15 21:27:33 -05:00
phxntxm
dc08406739 Use actual_load 2017-06-12 02:10:01 -05:00
phxntxm
9604d5a4ea Correct how the table_filter works 2017-06-12 02:08:31 -05:00
phxntxm
e6bdf6c8f3 Add avatar back to picarto embeds 2017-06-12 01:48:54 -05:00
phxntxm
05e6d0404f Stupid aiohttp 2017-06-12 01:41:10 -05:00
phxntxm
ec1df2dd3d Where did that go? 2017-06-12 01:32:59 -05:00
phxntxm
e98f1504cc Correct a couple key changes 2017-06-12 00:48:31 -05:00
phxntxm
51f3696308 Use Picarto's new API 2017-06-12 00:46:07 -05:00
Phxntxm
6b805faf0f Reorder a few things in the next_song method too ensure we set the song 2017-06-11 14:30:09 -05:00
Phxntxm
0f2f9b628a Reorder a few things in the next_song method too ensure we set the song 2017-06-11 14:28:58 -05:00
phxntxm
14d6cc5e20 Correct syntax error 2017-06-11 13:03:34 -05:00
Phxntxm
1956d6e5c1 Edge cases~ 2017-06-10 21:58:20 -05:00
Phxntxm
8c1f23e59b Include an actual helpful example/result in order to not confuse dummies 2017-06-10 14:25:04 -05:00
Phxntxm
8abe27e85c Catch a few edge cases 2017-06-09 21:50:17 -05:00
phxntxm
60e9348896 Lower the playlist and option names 2017-06-07 21:19:31 -05:00
phxntxm
3fb4d3f337 Only lower when needed 2017-06-07 20:05:38 -05:00
phxntxm
25c6a89e20 Don't check if current is set 2017-06-07 19:40:50 -05:00
phxntxm
a65ffeb221 Check if there was a failure when adding a new song 2017-06-07 19:40:37 -05:00
phxntxm
534dd29f4f Few more edge cases 2017-06-07 15:56:51 -05:00
phxntxm
ef531bd2d2 Ensure a response is given for the first question 2017-06-07 15:56:45 -05:00
phxntxm
b0a965031f Use actual load as the filter we use is more complex to load from cache currently 2017-06-07 13:54:00 -05:00
phxntxm
dbe5cf6110 Fix a few edge cases 2017-06-07 13:53:40 -05:00
phxntxm
7f2c542b3a Reenable battle 2017-06-07 13:53:27 -05:00
phxntxm
898fd8b7f4 Add a second check to ensure we are not playing before actually overwriting the song/dj 2017-06-07 03:53:15 -05:00
phxntxm
6779dfca03 Remove no longer needed print statements 2017-06-07 03:38:30 -05:00
phxntxm
e43808f40c Reenable booping 2017-06-07 03:38:08 -05:00
phxntxm
efc1a3cf6d Database rewrite/User queue creation 2017-06-07 03:30:19 -05:00
phxntxm
1cc88ce6ab Catch HTTPExceptions as this usually means an explicit word was sent 2017-05-29 16:33:31 -05:00
phxntxm
7c30ed595a PEP8 2017-05-29 16:29:49 -05:00
phxntxm
83e68a4c7f Handle if there aren't any nsfw channels on this server 2017-05-29 16:29:43 -05:00
phxntxm
bf5f65b0b7 Handle if the avatar is too large 2017-05-29 16:27:25 -05:00
phxntxm
d5b1f0a64d Handle when there are no songs in the queue 2017-05-29 16:27:12 -05:00
phxntxm
74896d921e Move joining a channel to it's own method 2017-05-29 16:17:00 -05:00
Phxntxm
2e159cf7c4 Catch the other, not so common ExtractionError 2017-05-20 13:44:15 -05:00
Phxntxm
ce6b831b93 Remoe the colour formatting from errors 2017-05-19 21:28:35 -05:00
Phxntxm
4178298065 Correct exception checking 2017-05-19 13:55:55 -05:00
Phxntxm
aebaa9b282 Add another edge case check 2017-05-19 13:55:45 -05:00
Phxntxm
942e1b0a09 Add a method to send a message to the owner when the bot has left/joined a guild 2017-05-18 22:09:00 -05:00
Phxntxm
159efa6dee Use correct variable reference 2017-05-18 21:04:33 -05:00
Phxntxm
19507d06ba Remove old filter 2017-05-18 21:03:36 -05:00
Phxntxm
0f17624b58 Correct description 2017-05-18 21:03:20 -05:00
Phxntxm
13643bd1a2 Couple edge case checks 2017-05-18 21:03:09 -05:00
Phxntxm
32be71d4ec Correctly get examples, results, and the description 2017-05-18 21:03:00 -05:00
Phxntxm
38018674bc Use the qualified name for the commands 2017-05-18 20:45:24 -05:00
Phxntxm
11fae59047 Correct a couple old references 2017-05-18 20:44:28 -05:00
Phxntxm
6f4a5ee0ba Correct order of if statement 2017-05-18 20:42:42 -05:00
Phxntxm
fcf88680ce Readd specific command help 2017-05-18 20:41:41 -05:00
Phxntxm
6d18799dd8 Don't try to connect again on failure; normally this is due to timeing out and we don't want to continiously time out 2017-05-18 14:02:29 -05:00
Phxntxm
47f0cfebfa Add a check for if there are no roles 2017-05-18 14:01:56 -05:00
Phxntxm
dae3e4761e Reordered if statements to allow nsfw channels in DM's 2017-05-18 13:57:59 -05:00
phxntxm
4db5e57a98 Use the role hierarchy to list the roles in order 2017-05-16 23:02:52 -05:00
phxntxm
a5daa026d5 Use the paginator 2017-05-16 22:47:33 -05:00
phxntxm
917ca70901 Added a check to ensure the song exists 2017-05-16 22:47:27 -05:00