1
0
Fork 0
mirror of synced 2024-09-28 07:21:16 +12:00
Commit graph

1651 commits

Author SHA1 Message Date
phxntxm
a4a47cded3 Correct accidental override of info 2017-07-09 14:52:09 -05:00
Phxntxm
a93432d0b7 Add the birthday module 2017-07-03 21:02:34 -05:00
Phxntxm
29625cb9dc Add the birthday table to require tables 2017-07-03 21:02:22 -05:00
Phxntxm
2c47ab881b Catch data being None 2017-07-03 21:02:07 -05:00
Phxntxm
4f816216f8 Add the ability to turn off birthday announcemtns 2017-07-03 21:01:57 -05:00
phxntxm
13ce1d861e Pillow changes 2017-07-02 23:55:27 -05:00
Phxntxm
9fd3891125 Implement an audio source for youtube_dl entries 2017-07-02 22:20:27 -05:00
Phxntxm
042b2fcaea Change up downloading method 2017-07-02 22:20:01 -05:00
Phxntxm
ffa1126f01 Set default searching method to youtube 2017-07-02 22:19:37 -05:00
Phxntxm
0be369fb79 Add an import command for playlists; handle new downloading method of songs 2017-07-02 22:19:20 -05:00
Phxntxm
56ca4dabf2 Use the new method for adding songs 2017-07-02 22:18:51 -05:00
Phxntxm
086b7f660b Remove embed from invite link 2017-07-02 22:18:33 -05:00
Phxntxm
60326c7053 Only allow double on the first action in a turn 2017-07-02 22:18:18 -05:00
Phxntxm
08a31d284b Add the abilty to change whether or not the import command can be used 2017-07-02 22:18:00 -05:00
Phxntxm
a752d3a3f7 Ensure current is set to None when no song is next 2017-06-30 19:46:02 -05:00
Phxntxm
61b6c5d0be Add a manual check for admin privileges 2017-06-30 19:30:40 -05:00
Phxntxm
29d6eb4e4c Add a block for icecast radios 2017-06-29 22:38:15 -05:00
Phxntxm
b0b6400747 Delete the poll message from the author 2017-06-29 18:57:49 -05:00
Phxntxm
120d95096f Use the name instead of mention, since mentions will sometimes break due to the member leaving the server 2017-06-29 14:50:12 -05:00
Phxntxm
3494066ae7 Change the name of the owner, due to self-hosting 2017-06-29 14:49:52 -05:00
phxntxm
ea53c2dbd0 Allow subtract and addition for rolls 2017-06-28 17:43:28 -05:00
phxntxm
9ca6f8996f Handle no playlist being given 2017-06-28 14:54:07 -05:00
phxntxm
049973f026 Handle failures to download 2017-06-28 14:53:48 -05:00
phxntxm
899c02fd77 Handle first time battles 2017-06-28 14:53:28 -05:00
phxntxm
8f078ea0ce Add a help mesage for restrictions 2017-06-28 14:53:12 -05:00
phxntxm
393dc9d6a7 Add a message for if there are no restrictions 2017-06-28 05:30:06 -05:00
phxntxm
773e69e481 Await the coroutine 2017-06-28 05:28:41 -05:00
phxntxm
21d0dc275f Add a restrictions command to show current restrictions 2017-06-28 05:27:35 -05:00
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
Phxntxm
8860cd90a7 Add aliases; sort cogs 2017-05-15 18:36:39 -05:00
Phxntxm
ccc70f0c4b Use the guild's voice client to disconnect 2017-05-15 16:19:04 -05:00
Phxntxm
38792b1a0b Make the extensions prettier 2017-05-14 20:08:13 -05:00
Phxntxm
184256c905 Add a polls cog 2017-05-14 20:07:04 -05:00
Phxntxm
c519896715 Use the guild's voice client 2017-05-14 20:05:09 -05:00
Phxntxm
84c096df4b Ensure the bot.owner attribute has been set 2017-05-14 20:04:52 -05:00
Phxntxm
e9354febc4 Force disconnection if we're stuck between connection states 2017-05-14 14:18:32 -05:00
phxntxm
97ae123c71 Reorder some parts with join, to ensure we detect the right status 2017-05-14 05:10:40 -05:00
Phxntxm
dd9b3a4f1b Remove replacing of slashes 2017-05-13 17:16:27 -05:00
Phxntxm
29680724b0 Remove logging as library now logs this 2017-05-13 15:20:40 -05:00
Phxntxm
2a5e6b96b1 Ensure that the duration has been provided when using length 2017-05-13 14:23:32 -05:00
Phxntxm
2e1fd109f1 Add a few extra checks 2017-05-13 14:23:18 -05:00
Phxntxm
37e493b101 Update volume checking to use the state's property 2017-05-12 18:13:27 -05:00
Phxntxm
d0842037f3 Add a second check for misinterpretation for searches as URL's 2017-05-12 17:53:45 -05:00
Phxntxm
7abcbe45d0 Replaced slashes with a space to not confuse URL's 2017-05-12 17:53:25 -05:00
Phxntxm
d792f1d648 Add the ability to add a proxy to youtube_dl 2017-05-11 22:06:27 -05:00
Phxntxm
3e14ddfb89 Use a proxy if provided 2017-05-11 22:06:10 -05:00
Phxntxm
79ed786bb6 Remove some no longer required things from config 2017-05-11 21:40:21 -05:00
Phxntxm
6d2917c31b Move extensions from config.yml to be hardcoded 2017-05-11 19:50:57 -05:00
Phxntxm
645bfef0b6 Use the actual application info to figure out owner 2017-05-11 19:43:43 -05:00
Phxntxm
0549f8134d Check if a playlist is provided 2017-05-11 18:25:37 -05:00
Phxntxm
e3e2a312d0 Update Converters to match current version 2017-05-11 18:23:47 -05:00