1
0
Fork 0
mirror of synced 2024-08-04 13:01:18 +12:00
Commit graph

1264 commits

Author SHA1 Message Date
Phxntxm
15dedc5256 Added a zero-width space to tags to ensure they can't trigger other bot's commands 2016-09-12 15:34:31 -05:00
phxntxm
52ad367e0b Made sure that the id of the strawpoll is a string, not an int, when saving 2016-09-11 13:17:04 -05:00
phxntxm
374a0433aa Used the new cooldown reset method 2016-09-11 03:32:36 -05:00
phxntxm
f4291ab923 Used the new cooldown reset method; simplified boops 2016-09-11 03:30:23 -05:00
phxntxm
8c90220eab Corrected some of the logic behind cache; fixed an error that caused our cache object to be deleted and replaced by the dictionary that sould have been saved to it's value 2016-09-11 03:28:57 -05:00
phxntxm
aedf8c4a4c Spelled tokens correctly 2016-09-07 05:32:57 -05:00
phxntxm
1a15c12c3e Added a cooldown reset on failed commands 2016-09-06 14:56:34 -05:00
Phxntxm
52eea3753b Made sure that the bot is in a channel in cases where the VoiceClient gets stuck 2016-09-05 21:52:14 -05:00
Phxntxm
8bd014a345 Added a check to make sure the server is found, as now that the bot is sharded we may not detect the correct server 2016-09-03 17:18:24 -05:00
Phxntxm
6de4800e54 Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2016-09-03 16:26:50 -05:00
Phxntxm
b0a8565096 Corrected how remove perms checked the command provided 2016-09-03 16:23:24 -05:00
phxntxm
04ccc6bdc1 Corrected how to save tags 2016-09-02 00:40:32 -05:00
phxntxm
0fe1868b4e Corrected instance checking on content 2016-09-01 00:32:15 -05:00
phxntxm
a61d1e7b21 Changed up the count for servers to not be amigious 2016-09-01 00:15:11 -05:00
phxntxm
712fee7eb2 Corrected error when bot_data was not found 2016-08-31 23:54:20 -05:00
phxntxm
d79f1d53a8 Added another check in case cached object failed 2016-08-31 23:47:03 -05:00
phxntxm
fa8231eb71 Added another check in case cached object failed 2016-08-31 23:46:22 -05:00
phxntxm
3b66f780a9 Added another check in case cached object failed 2016-08-31 23:44:45 -05:00
phxntxm
34bc196c21 Removed __repr__ as it's not used 2016-08-31 23:41:43 -05:00
phxntxm
b031b4d2f5 Corrected what to save on updating 2016-08-31 23:02:10 -05:00
phxntxm
9c1a4fab5c Awaited the coroutine 2016-08-31 23:01:45 -05:00
phxntxm
737c97d3db Correctly closed the rethinkdb connection 2016-08-31 22:58:41 -05:00
phxntxm
2880306764 Replaced the string key with the actual variable... 2016-08-31 22:51:21 -05:00
phxntxm
5cdce2cad7 Reimplemented cache, changed up the checking for it for rare odd cases 2016-08-31 22:24:21 -05:00
phxntxm
bf4041fa64 Made sure the full length of servers is sent to the bot sites 2016-08-31 22:23:58 -05:00
phxntxm
9181aff295 Changed up how starting a hangman game works; now chooses from a random phrase 2016-08-31 21:01:43 -05:00
phxntxm
d8b2fcb3a2 Added the ability to get server/member count across all shards 2016-08-31 19:07:38 -05:00
phxntxm
d0f81a3f1a Corrected tags as rethinkdb cannot save lists 2016-08-31 18:19:47 -05:00
phxntxm
c7e8c5c71c Corrected the command_prefix method 2016-08-31 17:53:33 -05:00
phxntxm
644436f9a1 Corrected the config file, while not caching 2016-08-31 17:50:40 -05:00
phxntxm
b689bb2a95 Disabled cache object, as the logic behind it and sharding does not work 2016-08-31 16:45:00 -05:00
phxntxm
f7bdf39845 Ensured uptime is valid by making it first 2016-08-31 16:19:39 -05:00
phxntxm
2f94ed9459 Corrected what to set values to by default 2016-08-31 15:28:52 -05:00
phxntxm
f048a1b27f Added a username and password to the db connection 2016-08-31 15:21:52 -05:00
phxntxm
c2e1ee17d5 Removed ssl connection while it's still being worked on by rethinkdb devs 2016-08-31 15:06:21 -05:00
phxntxm
c8bb26b2e2 Added statsupdate, as we're ready to merge to master 2016-08-31 14:48:07 -05:00
phxntxm
16aa8954cb Matched up all mismatched 'prefix' and 'prefixes' 2016-08-31 14:17:33 -05:00
phxntxm
181fbec47e Added missing awaits 2016-08-31 14:15:38 -05:00
phxntxm
0f21cf5155 Corrected what was checked in our prefix method 2016-08-31 14:13:09 -05:00
phxntxm
ce7151612e Added a custom prefix command 2016-08-31 14:10:33 -05:00
phxntxm
6bd265fc59 Used the internal cache instead of a fake 'cache' object for one object 2016-08-31 14:10:17 -05:00
phxntxm
e863a0e4e0 Implemented cache; added a custom prefix method ability 2016-08-31 14:09:11 -05:00
phxntxm
98d56f9b69 Stopped the player from resetting volume upon playing the next song 2016-08-31 11:58:59 -05:00
phxntxm
ffbd1ee431 Made sure that rules is always a list if invalid 2016-08-30 21:57:23 -05:00
phxntxm
d522726cc7 Corrected nsfw channels and rules 2016-08-30 21:54:32 -05:00
phxntxm
138021bd90 Changed nsfw and rules so that they can are dictionaries 2016-08-30 21:48:37 -05:00
phxntxm
65d4b143b3 Ensured that the connection closes when saving and getting data 2016-08-30 21:19:19 -05:00
phxntxm
6f9acb0d7a Changed up what was returned on invalid searches 2016-08-30 20:48:30 -05:00
phxntxm
0dcd900585 Created a class, and an object of that class to cache custom permissions, and only query for new permissions when they are updated 2016-08-30 19:44:24 -05:00
phxntxm
dbfff6e01d Corrected the logic when nothing is found in the database; changed some exceptions 2016-08-30 19:23:07 -05:00
phxntxm
60ed33fa15 Corrected how to call the coroutine in the check 2016-08-30 19:15:42 -05:00
phxntxm
cad6fd4e14 Awaited the new save/get content methods 2016-08-30 19:11:25 -05:00
phxntxm
36c839a276 Finished up saving/loading content to rethinkdb 2016-08-30 18:59:55 -05:00
phxntxm
5b8fc913b8 PEP8 changes 2016-08-30 17:33:46 -05:00
phxntxm
2643dc6d80 Changed saving method to rethinkdb instead of config file 2016-08-30 17:33:37 -05:00
phxntxm
162ef91379 Created a test command to test shard data 2016-08-30 15:23:12 -05:00
phxntxm
b9cb3bf603 Printing on status changes; as the 2nd bot seems to not connect 2016-08-30 14:51:04 -05:00
phxntxm
d35b990b26 Yaml was renamed? 2016-08-30 14:28:58 -05:00
phxntxm
43185dc031 Added sharding ability, first implementation of new saving method 2016-08-30 14:21:17 -05:00
phxntxm
2d78558cec Fuck you derpibooru, fix your search function 2016-08-30 02:19:28 -05:00
phxntxm
32e4d26559 Corrected the combination of explicit and suggestive to not break searches 2016-08-30 02:14:01 -05:00
phxntxm
97367a8873 Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2016-08-30 01:48:02 -05:00
phxntxm
9e1c0a2dee Forced safe tag for nsfw channel derpi lookups; added suggestive to nsfw channel lookups 2016-08-30 01:47:52 -05:00
Phxntxm
0214537e49 Correctected the indentation error 2016-08-28 16:41:32 -05:00
Phxntxm
0e785ef9b0 Changed up what permissions are required for role management 2016-08-28 15:00:34 -05:00
Phxntxm
402ddb061c Corrected what exception would be hit if custom_perms is not found 2016-08-28 14:40:34 -05:00
Phxntxm
04472c522e Added the ability to check default permissions 2016-08-28 14:39:28 -05:00
Phxntxm
ef1608b482 Added a silent exception for playing music and not having permissions to send messages, as this seems to happen commonly based on error logs 2016-08-27 22:32:11 -05:00
Phxntxm
ceddb2b7c8 Added a check in case the volume passed is higher than max 2016-08-27 22:26:23 -05:00
Phxntxm
e101ba3120 Added perms attribute in the custom_perms predicate 2016-08-27 22:00:43 -05:00
Phxntxm
5242dc613f Added an exception checking for odd cases where the VoiceClient gets stuck, while the bot is not in a voice channel 2016-08-27 17:18:37 -05:00
Phxntxm
3afe3c1db9 Added a check for purging/pruning to see if the bot has permissions to do so 2016-08-27 14:36:07 -05:00
Phxntxm
a16684a61c Added an exception for when strawpoll returns invalid data 2016-08-27 13:49:06 -05:00
Phxntxm
6fca8e7252 Changed up the order of modifying new hangman games, to avoid cases where a forbidden error leaves an invalid game 2016-08-26 20:30:06 -05:00
phxntxm
b082ce5f04 Removed the change Pycharm made for pep8 which caused the bot not to run, as the directoy was detected incorrectly 2016-08-26 08:23:02 -05:00
phxntxm
217407fbaa Removed the deleted status message after a minute 2016-08-26 00:12:54 -05:00
phxntxm
0173ff0924 Printed out the amount of messages removed when pruning 2016-08-25 23:56:16 -05:00
phxntxm
3b3974eb0b Added a prune command 2016-08-25 23:50:09 -05:00
phxntxm
b1a786ba70 Added a check in case we failed to create a hangman game 2016-08-25 23:36:35 -05:00
phxntxm
2af7f9ee66 Added exception handling if a user does not have any csgo stats 2016-08-25 23:28:39 -05:00
phxntxm
df8db00c08 Removed exception handling if voice was still none, it just caused a loop. I don't know how this error keeps happening 2016-08-24 14:55:09 -05:00
phxntxm
48c1f75bd0 Changed up what to do in the case voice gets stuck in a bad state 2016-08-23 19:21:56 -05:00
phxntxm
96c77a21db Added an exception check in case voice gets stuck, and the bot is already ina channel 2016-08-23 19:12:52 -05:00
phxntxm
7cbb788668 Added an error check for if there is no result, based on search terms 2016-08-22 23:57:59 -05:00
Phxntxm
171d57d259 Saved when adding a new battletag 2016-08-22 18:28:25 -05:00
Phxntxm
1e9dbba2ed Updated the audio task to silently fail if we don't have permission to send a message 2016-08-22 16:28:27 -05:00
Phxntxm
31391c8556 Changed up the order in case the bot does not have permissions to send a message 2016-08-22 15:09:00 -05:00
Phxntxm
48ccf886b5 Handled error when a the bot does not have permissions to delete a message 2016-08-21 20:52:27 -05:00
Phxntxm
20981729bd Added some aliases, corrected who was looked up for csgo stats 2016-08-21 20:13:39 -05:00
Phxntxm
b6a2f491ef Added a force stop command 2016-08-21 15:23:47 -05:00
Phxntxm
bf535f3cbc Corrected what was being searched in running 2016-08-21 15:15:41 -05:00
Phxntxm
09ad1a8b57 Renamed battles variable, as it caused a conflict 2016-08-21 15:12:13 -05:00
Phxntxm
38f4c578db Removed ctx, as it's not used 2016-08-21 15:11:18 -05:00
Phxntxm
161eade219 Added a command to see how many things, and what is running 2016-08-21 15:10:53 -05:00
Phxntxm
639c6ae58d Corrected what was sent via the timeout 2016-08-21 15:01:47 -05:00
Phxntxm
c6e057ad67 Changed up leaderboard to print just the first 10 2016-08-21 14:49:43 -05:00
Phxntxm
9c03d61439 Changed up leaderboard to print just the first 10 2016-08-21 14:49:24 -05:00
Phxntxm
57c8b0271a Corrected syntax error 2016-08-21 14:38:03 -05:00
Phxntxm
9898b1eff0 Changed up battling to stop saving content to the config file, as there's no need 2016-08-21 14:37:12 -05:00
phxntxm
803a764007 Added an extra error check for playing music, in case is_done does not exist 2016-08-21 02:18:35 -05:00
phxntxm
2f85aebee0 Removed checking player 2 on hangman, there is no player 2 2016-08-21 02:14:40 -05:00
phxntxm
0c622b8224 Changed name of url argument, as kwargs included url 2016-08-21 01:00:54 -05:00
phxntxm
e3dfb91041 Stopped downloading the youtube_dl url upon play command 2016-08-21 00:36:38 -05:00
Phxntxm
25adbf83f5 Stopped the bot from removing messages, as it bugs mobile apps when removed so quickly 2016-08-20 22:04:27 -05:00
Phxntxm
9cb1cd25b1 Added a check to ensure that the bot is not being challenged 2016-08-20 20:55:52 -05:00
Phxntxm
5da0830b5c Added a zero-width space to the say command, to avoid possible abuse by other bots 2016-08-20 18:54:51 -05:00
Phxntxm
1989c4bb0e Added an exception check for timing out 2016-08-20 16:56:20 -05:00
phxntxm
c7be4bb7b2 Corrected error where an extra attempt to remove a rule was done 2016-08-20 11:48:02 -05:00
phxntxm
9f4a0400e5 Changed up the settings for checking if a user is on picarto 2016-08-20 00:34:17 -05:00
phxntxm
ca575cedab Corrected error where server_alerts was not saved 2016-08-20 00:28:17 -05:00
phxntxm
880fa0e17b Corrected issue when no option is provided 2016-08-20 00:13:13 -05:00
phxntxm
92ca0831e0 Finished implemenation of modular amount of required skips 2016-08-19 23:25:17 -05:00
Phxntxm
5c6b36d645 Started implementation of modular required skip amount 2016-08-19 23:00:23 -05:00
Phxntxm
baa6d5899f Removed converting puncation to blanks 2016-08-19 22:27:48 -05:00
Phxntxm
2c55799379 Added an exception in case no option was passed 2016-08-19 18:55:51 -05:00
Phxntxm
e8e33c46f0 Added a check for if a close match to the provided game is not found 2016-08-19 18:52:38 -05:00
Phxntxm
e64e47c640 Added a check to see if the bot's steam info was being looked up 2016-08-19 18:44:18 -05:00
Phxntxm
6c3fa02134 corrected which group to get in the regex search 2016-08-19 18:36:47 -05:00
Phxntxm
804bc3ad8b Corrected syntax error 2016-08-19 18:33:30 -05:00
Phxntxm
846b29c1f3 Corrected some error checking on lookups 2016-08-19 18:32:24 -05:00
Phxntxm
4ce7340600 Corrected what was being sent to the get_app_id method 2016-08-19 18:11:53 -05:00
Phxntxm
305d18ba64 Corrected what's printing in the game slot 2016-08-19 18:09:50 -05:00
Phxntxm
d9823485ef Corrected syntax error 2016-08-19 18:08:28 -05:00
Phxntxm
70a8682a11 Corrected syntax error 2016-08-19 18:05:25 -05:00
Phxntxm
d70f9d5a76 Corrected syntax error 2016-08-19 18:03:54 -05:00
Phxntxm
d0f7d8d784 Corrected syntax error 2016-08-19 18:02:46 -05:00
Phxntxm
5a55d346d4 Corrected syntax error 2016-08-19 18:02:12 -05:00
Phxntxm
4286e9da26 Corrected syntax error 2016-08-19 18:01:22 -05:00
Phxntxm
c4127f2911 Added the ability to search achievements/info on a user 2016-08-19 18:00:16 -05:00
Phxntxm
0cb6fc07be Changed where to pull display names from 2016-08-19 17:19:21 -05:00
Phxntxm
e9bc5aaab7 Corrected what the member was called 2016-08-19 14:46:52 -05:00
Phxntxm
cf06356482 Added the ability to save a steam account per user 2016-08-19 14:45:48 -05:00
phxntxm
938337688b Cleaned up first setup of csgo stats 2016-08-19 02:02:40 -05:00
phxntxm
9fda303ab1 Corrected error where .json() wasn't being awaited) 2016-08-19 02:00:50 -05:00
phxntxm
04e08ec177 Corrected error where .text() wasn't being awaited) 2016-08-19 01:59:33 -05:00
phxntxm
9fda5f3bad Sent headers with the requests 2016-08-19 01:52:59 -05:00
phxntxm
942bd67c2c Added required setup function 2016-08-19 01:50:00 -05:00
phxntxm
43aa1042a4 Created initial steam cog 2016-08-19 01:48:38 -05:00
phxntxm
88426b824e Created initial steam cog 2016-08-19 01:48:15 -05:00
phxntxm
4a436bb3ba Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2016-08-19 01:13:15 -05:00
phxntxm
cfac889db8 Corrected issue with the update records, if no entry yet 2016-08-19 01:13:03 -05:00
Phxntxm
d6ecec0d5b Adding a test command to test mini-data classes 2016-08-18 22:50:54 -05:00
Phxntxm
2c694dbeb9 Adding a test command to test mini-data classes 2016-08-18 22:50:32 -05:00
Phxntxm
d6470a19e8 Adding a test command to test mini-data classes 2016-08-18 22:50:11 -05:00
Phxntxm
74f5fe0ec0 Adding a test command to test mini-data classes 2016-08-18 22:49:17 -05:00
Phxntxm
2a20635536 Adding a test command to test mini-data classes 2016-08-18 22:48:50 -05:00
Phxntxm
8f7a3e58cd Added support for carbonitex posting 2016-08-18 20:56:41 -05:00
Phxntxm
c4983c10fc Added comments, changed up the server setting so that multiple servers can be notified 2016-08-18 15:55:04 -05:00
phxntxm
86018bc24d Removed attempt to get .items() of a tuple) 2016-08-18 12:52:25 -05:00
phxntxm
8f3f3ca58d Sorted the list of booped members 2016-08-18 12:49:45 -05:00
phxntxm
8a1a7900a7 Corrected error if a member was provided but not mentioned 2016-08-18 12:44:40 -05:00
phxntxm
71c0d499c6 Corrected issue with wiki searching, that caused wrong articles to be pulled 2016-08-17 16:28:45 -05:00
phxntxm
8919b1210c Changed directory before importing config file, to stop it from erroring out when looking for required files 2016-08-17 15:46:20 -05:00
phxntxm
556022abbc Changed up safe restart command, to actually work 2016-08-16 21:19:44 -05:00
phxntxm
3a7461180c Added some comments, corrected error where tags were not saved 2016-08-16 19:45:01 -05:00
phxntxm
7735bbc081 CHanged the hangman usage to check lower, to make cases not sensitive 2016-08-16 10:30:04 -05:00
phxntxm
c8730a3b6f Corrected some syntax/pep8 errors 2016-08-16 10:22:32 -05:00
phxntxm
8239d66524 Corrected syntax errors 2016-08-16 06:12:36 -05:00
Phxntxm
f26e04b1a4 Mass update: Added comments to most of the project. A couple small tweaks made as well 2016-08-15 22:30:52 -05:00
Phxntxm
d334c5584d Removed comment for restarting 2016-08-15 16:16:01 -05:00
Phxntxm
2fb38350da Added a saferestart command, temporarily commenting out the part that actually restarts, for testing 2016-08-15 16:15:27 -05:00
Phxntxm
050e668450 Changed up formatting a bit 2016-08-15 15:46:08 -05:00
Phxntxm
99cd485f5b Changed the formatting so that the url can be clicked 2016-08-15 15:45:29 -05:00
Phxntxm
a8102cd9f8 Changed the formatting so that the url can be clicked 2016-08-15 15:45:02 -05:00
Phxntxm
121e13e623 Corrected what was checked for the length of the search 2016-08-15 15:44:13 -05:00
Phxntxm
934ccb6d86 Added a wikipedia command 2016-08-15 15:43:18 -05:00
Phxntxm
37dbacf3fe Mass update: removed all cases LikeThis and replaced them like_this (This for you Fuyu) 2016-08-14 21:10:12 -05:00
Phxntxm
d89c793343 Corrected how guessing word was handled, added an exception in case a letter is guessed twice 2016-08-14 19:00:01 -05:00
Phxntxm
3faee2022e Corrected issue where if the method existed was being checked, instead of calling it 2016-08-14 18:49:15 -05:00
Phxntxm
b7fa339ffa Corrected issue where if the method existed was being checked, instead of calling it 2016-08-14 18:48:17 -05:00
Phxntxm
7ccc78a8ae Removing deleting of the game, as I'm still not sure where the issue is 2016-08-14 18:46:10 -05:00
Phxntxm
69d622a7af Adding printing of the game before removing it, as I'm not sure where the logic failed 2016-08-14 18:36:44 -05:00
Phxntxm
a41828d1d1 Corrected error where 'server' was being used in place of self 2016-08-14 18:33:42 -05:00
Phxntxm
a65868219f Added newlines to the printing of the man 2016-08-14 18:31:23 -05:00
Phxntxm
d932af0ae0 Corrected error where self. wasn't being used 2016-08-14 18:30:10 -05:00
Phxntxm
a02184113a Corrected error where self. wasn't being used 2016-08-14 18:28:48 -05:00
Phxntxm
53e593db4e Added required setup function 2016-08-14 18:27:03 -05:00
Phxntxm
1759548e1b Corrected syntax error 2016-08-14 18:26:32 -05:00
Phxntxm
4117583c1d Added a hangman cog 2016-08-14 18:26:10 -05:00
Phxntxm
fede75f634 Added a fail check to ensure only one game is setup per server 2016-08-14 18:10:31 -05:00
Phxntxm
f9cd43b516 Added the ability to save wins/losses 2016-08-14 16:53:52 -05:00
Phxntxm
3d7a8bd985 Corrected logical checking for places 2016-08-14 16:11:32 -05:00
Phxntxm
b7fcad1c61 Added a error check in case someone tries to play in an already used place 2016-08-14 16:04:37 -05:00
Phxntxm
0ffd198da6 Added a message when a game has ended in a tie 2016-08-14 16:03:39 -05:00
Phxntxm
04fe5cbd3e Corrected issue where evaluation was happening instead of assignemnt 2016-08-14 15:57:12 -05:00
Phxntxm
166cc58f39 Corrected logic with checking middle 2016-08-14 15:55:55 -05:00
Phxntxm
616c7fdc4b Corrected which index was checked 2016-08-14 15:37:45 -05:00
Phxntxm
4c49ae8bbf Corrected logic for checking updates 2016-08-14 15:36:10 -05:00
Phxntxm
f6d5048f8e Corrected syntax error 2016-08-14 15:32:33 -05:00
Phxntxm
17efd844b2 Corrected issue when middle is not given 2016-08-14 15:31:05 -05:00
Phxntxm
97232c3fe5 Added required invoke_without_command 2016-08-14 15:28:01 -05:00
Phxntxm
eb0ab49b15 Made start a subcommand 2016-08-14 15:26:55 -05:00
Phxntxm
f3c1c2b335 Added required ctx paramater 2016-08-14 15:25:38 -05:00
Phxntxm
22b71c0528 Added required setup function 2016-08-14 15:24:31 -05:00
Phxntxm
e4765a5485 Corrected syntax error 2016-08-14 15:23:50 -05:00
Phxntxm
c7bd4eaf21 Corrected syntax error 2016-08-14 15:23:17 -05:00
Phxntxm
0957318142 Created a cog for tictactoe 2016-08-14 15:22:33 -05:00
Phxntxm
28019bd250 Corrected issue where aliased commands would fail to check 2016-08-14 13:53:45 -05:00
phxntxm
bf408dc60f Corrected error upon removing with no id passed 2016-08-14 00:46:58 -05:00
phxntxm
595496103b Printed a message when a poll is remvoed 2016-08-14 00:42:57 -05:00
phxntxm
c77a55cf80 Added the ability to remove a strawpoll 2016-08-14 00:41:05 -05:00
phxntxm
74130cdfbe Corrected printing of when the poll was created 2016-08-14 00:19:18 -05:00
phxntxm
c585d3068a Corrected saving a member 2016-08-14 00:18:08 -05:00
phxntxm
a0cfcd8c92 Corrected printing of options list 2016-08-14 00:14:41 -05:00
phxntxm
51438fdde5 Corrected issue where post headers were being sent on get requests 2016-08-14 00:10:51 -05:00
Phxntxm
d29bad3ea0 removed unload function 2016-08-13 23:05:26 -05:00
Phxntxm
ca52ec25b9 Corrected printing of polls 2016-08-13 23:05:06 -05:00
Phxntxm
dbf3a5df5e Corrected printing of polls 2016-08-13 23:04:25 -05:00
Phxntxm
1899618b81 Corrected printing of polls 2016-08-13 23:01:25 -05:00
Phxntxm
0b67796c8d Corrected printing of the polls 2016-08-13 22:56:44 -05:00
Phxntxm
009d161474 Corrected error where a pendulum object was attempted to be serialzed 2016-08-13 22:53:43 -05:00
Phxntxm
c61838886a Changed up config, to error out in case incorrect data was provided 2016-08-13 22:52:55 -05:00
Phxntxm
dbea3e89d9 Corrected how the author was saved 2016-08-13 22:31:35 -05:00
Phxntxm
3e3a459637 Added default dictionary if nothing is loaded 2016-08-13 22:29:36 -05:00
Phxntxm
07c8f286a2 Added the ability to save strawpolls per server 2016-08-13 22:27:12 -05:00
Phxntxm
55bb3ad2c5 Corrected error where a blank option would be submitted 2016-08-13 22:18:43 -05:00
Phxntxm
ff82f250d3 Removed headers from the session, as that wasn't needed 2016-08-13 21:57:34 -05:00
Phxntxm
82709c9b5f imported missing module 2016-08-13 21:50:18 -05:00
Phxntxm
aea37395eb moving setup to the top to test 2016-08-13 21:33:12 -05:00
Phxntxm
a38c03c2f3 Modifying setup 2016-08-13 21:24:19 -05:00
Phxntxm
1bb4c96fae Moved setup function to see if that fixes the error 2016-08-13 21:20:30 -05:00
Phxntxm
1458e3b4e9 Removed traceback printing 2016-08-13 21:10:53 -05:00
Phxntxm
f58e1290c7 Printing traceback for loading, as it doesn't seem to be working 2016-08-13 20:58:10 -05:00
Phxntxm
9394f4ebeb Printing traceback for loading, as it doesn't seem to be working 2016-08-13 20:55:55 -05:00
Phxntxm
893af0e0cc Printing traceback for loading, as it doesn't seem to be working 2016-08-13 20:55:12 -05:00
Phxntxm
89d5bd9a22 Corrected error in comprehension 2016-08-13 20:53:01 -05:00
Phxntxm
80ff6b31be Corrected syntax error 2016-08-13 20:49:58 -05:00
Phxntxm
10a1c87e0e Added required setup method 2016-08-13 20:48:08 -05:00
Phxntxm
c40d3e9fe5 Corrected syntax error 2016-08-13 20:47:18 -05:00
Phxntxm
3262abe24f Added a strawpoll cog 2016-08-13 20:46:47 -05:00
Phxntxm
3c2edcca68 Removed the test command 2016-08-13 20:44:32 -05:00
Phxntxm
6794eefbc2 Adding a test command to test message matching 2016-08-13 20:43:35 -05:00
Phxntxm
58d87ceba9 I forgot an await.... 2016-08-13 17:48:49 -05:00
Phxntxm
b418d91d31 Corrected what should be added to the 'author' list 2016-08-13 17:48:13 -05:00
Phxntxm
e63bbcd70b Added a missing import 2016-08-13 17:46:45 -05:00
Phxntxm
f1a88015b3 Added an information command to print some information about the bot 2016-08-13 17:46:15 -05:00
Phxntxm
881ac09ab7 Removed checking for saving returns True, as this is no longer valid 2016-08-13 15:16:52 -05:00
Phxntxm
2f9b75f5d7 Changed random generating to use SystemRandom, for better random numbers 2016-08-13 14:58:47 -05:00
Phxntxm
aaa63a7c27 Changed variable name to not interfere with the method name 2016-08-12 19:38:56 -05:00
Phxntxm
b8b923a7a9 Corrected the glob checking 2016-08-12 18:54:37 -05:00
Phxntxm
d14df8e3ea Corrected how to create the config.json file if it does not exist 2016-08-12 14:52:44 -05:00
Phxntxm
c95bdcbd96 Changed up saving content, as this sometimes caused the config file to be completely erased 2016-08-12 14:38:59 -05:00
Phxntxm
600a704e8b Corrected error where no nsfw_channel was found 2016-08-12 14:32:38 -05:00
phxntxm
f8b767eb1c Changes made for pep8 2016-08-12 12:37:29 -05:00
Phxntxm
a65c1b8f9c Using relative pathing; also adding failure messages upon attempting to run the bot without a valid config.yml file 2016-08-11 21:14:30 -05:00
Phxntxm
89ca7b0469 Changed pathing to relative pathing 2016-08-11 21:13:35 -05:00
Phxntxm
dee1b616f2 Changed which endpoint was checked, so there's no need to make an http request for every user to check if they are online 2016-08-11 14:33:19 -05:00
Phxntxm
0f1e566b04 Corrected syntax error 2016-08-11 14:04:25 -05:00
Phxntxm
12f8fb3964 Corrected which channel's ID's are saved 2016-08-11 14:02:47 -05:00
Phxntxm
31459b8f18 corrected syntax error 2016-08-11 14:00:55 -05:00
Phxntxm
d906b46daf Changed notifications settings so that a mod can set a certain channel, for all notifications 2016-08-11 14:00:24 -05:00
phxntxm
dc257e9072 Corrected error when the wrong key was searched 2016-08-10 10:23:15 -05:00
phxntxm
23901ed148 Removed pass, might have been causing the issue with checking if someone has gone live 2016-08-10 10:20:58 -05:00
phxntxm
2b4b467c55 Changed the picarto settings, to allow multiple servers to be notified 2016-08-09 23:46:28 -05:00
phxntxm
08518e3beb Made updates to add a default dictionary/list if one was not found in the config file 2016-08-09 21:13:53 -05:00
phxntxm
e07bc8359e Removed error printing, changed up how the name is printed 2016-08-08 18:43:18 -05:00
phxntxm
e7b4f1c980 Printing error, as the checking for online isn't working for picarto 2016-08-08 18:40:52 -05:00
phxntxm
3a857b641f Changed the notification method name 2016-08-08 18:32:33 -05:00
Phxntxm
8b6aea195f Uncommented the check to see if someone has gone online 2016-08-08 17:26:44 -05:00
Phxntxm
9abe4f1d00 Changed descrption when adding a picarto URL, to make it clear the channel will be the one notified 2016-08-08 17:21:50 -05:00
Phxntxm
bdc66075a2 Changed where the bot sends a message, based on the channel saved 2016-08-08 17:21:04 -05:00
Phxntxm
01ab4b8861 Corrected the discord object 2016-08-08 17:15:17 -05:00
Phxntxm
6538ab0651 Added the ability to change which channel is notified whne you go live 2016-08-08 17:10:07 -05:00
Phxntxm
c3d66e60b4 Added a loop to check if someone has gone live on Picarto 2016-08-08 16:53:29 -05:00
Phxntxm
62f78b6ee0 Saved the content when changing notifications 2016-08-08 16:50:50 -05:00
Phxntxm
92678a6344 Saved the content when changing notifications 2016-08-08 16:50:29 -05:00
Phxntxm
b1e0d05137 Added notification commands, and the ability to remove picarto URL's 2016-08-08 16:48:59 -05:00
Phxntxm
125eb1895c Changed when to title and replace _, as it was affecting more than I wanted 2016-08-08 16:46:02 -05:00
Phxntxm
3ebe96ef43 Added social_urls to the list of things to print 2016-08-08 16:44:58 -05:00
Phxntxm
906d31bdb3 Corrected the URL checked 2016-08-08 16:40:26 -05:00
Phxntxm
ff7e5ddee4 Corrected the URL checked 2016-08-08 16:39:50 -05:00
Phxntxm
7bec2d260a Fixed error where the url was not being retrieved 2016-08-08 16:37:44 -05:00
Phxntxm
57c17bd952 Imported needed module 2016-08-08 16:35:51 -05:00
Phxntxm
a0b50c880c Corrected member paramater 2016-08-08 16:35:15 -05:00
Phxntxm
0eee1bf40b Added the ability to add a picarto url, and view stats about one 2016-08-08 16:28:32 -05:00
Phxntxm
4a551a4258 Added the ability to add a picarto url, and view stats about one 2016-08-08 16:27:46 -05:00
Phxntxm
3b9818adde Added an extra check to the derpi command, verifying if a search found results 2016-08-08 13:44:03 -05:00
Phxntxm
094f2ad2b6 Added a picarto cog 2016-08-07 15:20:43 -05:00
Phxntxm
9d116f7890 Added a purge command 2016-08-07 14:26:44 -05:00
Phxntxm
1002dcc9a8 Added a snek command 2016-08-07 13:04:52 -05:00
Phxntxm
ff3d62093a Added the aliases to the right method this time 2016-08-07 09:03:36 -05:00
Phxntxm
7969d65578 Added an alias 'invite' to the addbot command 2016-08-07 09:02:35 -05:00
Phxntxm
370c2e02b1 Changed the order of operations, in case the bot doesn't have permissions to delete/send a message 2016-08-07 08:55:35 -05:00
Phxntxm
425cf30965 Changed the order of operations, in case the bot doesn't have permissions to delete/send a message 2016-08-07 08:46:30 -05:00
phxntxm
1cea255d83 Pep8 updates 2016-08-06 17:20:23 -05:00
phxntxm
b5df9ce404 Changed uptime to use pendulum instead of datetime 2016-08-06 17:20:16 -05:00
Phxntxm
f974acca92 Added an extra newline to the printing of the queue 2016-08-06 10:25:38 -05:00
Phxntxm
07499611f3 Removed extra ] 2016-08-06 09:50:23 -05:00
Phxntxm
d6fd844f92 corrected error where the wrong class was being checked for duration 2016-08-06 09:43:09 -05:00
Phxntxm
2d96f351c7 Removed the leave command 2016-08-06 09:11:40 -05:00
Phxntxm
a575baf5e1 Added a second error check in case response is not valid json text 2016-08-06 08:56:02 -05:00
Phxntxm
3eb79a073b Added an ETA message to estimate the next song in the queue that's yours 2016-08-06 08:09:24 -05:00
Phxntxm
23f01d0e1c Added a check to see if the person requesting a song is in the channel the bot is in 2016-08-06 07:35:59 -05:00
Phxntxm
6b161692a4 Added a check for if a queue was empty, when printing the queue 2016-08-06 07:27:08 -05:00
Phxntxm
0998e85950 Fixed error where 'None' song would print, when no songs are playing 2016-08-06 06:55:32 -05:00
Phxntxm
d729decf14 Changed say to send_message, as for some reason the channel was not being resolved automatically 2016-08-06 06:50:28 -05:00
phxntxm
3357e5a9f0 Corrected error when printing the queue 2016-08-05 19:55:44 -05:00
phxntxm
796ae55ffd Imported re for regex use 2016-08-05 17:00:16 -05:00
Phxntxm
3deed243ce Added a kdr to overwatch stats, when a hero is presented 2016-08-05 10:45:43 -05:00
Phxntxm
a85082a876 Corrected error where only the author was searched instead of the user 2016-08-05 10:23:59 -05:00
Phxntxm
d137884b5b Changed up error checking for if a hero isn't found/not used 2016-08-05 10:15:40 -05:00
Phxntxm
17e78cd38e Changed up error checking for if a hero isn't found/not used 2016-08-05 10:15:08 -05:00
Phxntxm
34e0496e36 Changed up error checking for if a hero isn't found/not used 2016-08-05 10:14:04 -05:00
Phxntxm
2e775e12d4 Changed up the base URL for overwatch 2016-08-05 10:01:06 -05:00
Phxntxm
5beeff465f Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2016-08-05 08:45:34 -05:00
Phxntxm
ca596a99a3 Provided a queue command to print the current queue 2016-08-05 08:45:20 -05:00
phxntxm
05ba41b493 Removed alias that clashed with a previous command 2016-08-04 16:41:19 -05:00
Phxntxm
4d24fac25d Stopped the bot from sending a message if there was an owner when loading/unloading a module 2016-08-04 13:31:09 -05:00
Phxntxm
c2f2e6816d Added error checking in loading and unloading a module 2016-08-04 13:29:45 -05:00
Phxntxm
ecf36d59c9 Added an error checking in case a tag was provided in the incorrect format 2016-08-04 10:49:24 -05:00
Phxntxm
567162268b Added an error checking in case a tag was provided in the incorrect format 2016-08-04 10:47:34 -05:00
Phxntxm
c907f76ac8 Removed a loss for some who declines to battle 2016-08-04 10:20:28 -05:00
Phxntxm
3d83374424 Added the abilty to have multiple server ID's, if that ever happens 2016-08-04 09:30:34 -05:00
Phxntxm
f6bdf056e5 Added an alias for the link to add Bonfire to a server 2016-08-04 09:30:18 -05:00
Phxntxm
7d1890ab59 Removed the ability to execute some commands via PM 2016-08-04 07:10:17 -05:00
phxntxm
c975e2b50c Printing out the time left when a command is on cooldown 2016-08-03 20:31:38 -05:00
phxntxm
c2a24887e9 Added an error checking for unsupported URL's 2016-08-03 20:00:46 -05:00
Phxntxm
1c5bdaf5cc Added the required permission of kick_members to the notification change command 2016-08-01 11:18:31 -05:00
Phxntxm
8e30e32f8b Added the ability to change user notifications 2016-08-01 11:10:20 -05:00
Phxntxm
95b28f87c1 Updated debug command to print an error 2016-08-01 10:31:21 -05:00
Phxntxm
2e7906fd4a Updated debug command to print an error 2016-08-01 10:28:16 -05:00
Phxntxm
23bdd8d448 Added a cog to update the information from bots.discord.pw 2016-08-01 08:53:46 -05:00
Phxntxm
6e163eb080 Removed printing of invalid commands 2016-08-01 08:06:11 -05:00
phxntxm
3b3650d6b2 Have the bot send a message once a role is removed 2016-07-31 16:54:44 -05:00
phxntxm
d57b695ef0 Flushed out error checking for all role commands 2016-07-31 16:52:29 -05:00
phxntxm
3faae46b44 Changed up the name of the method to delete roles 2016-07-31 16:36:24 -05:00
phxntxm
5114a6088a Removed a duplicate alias 2016-07-31 16:28:58 -05:00
phxntxm
432bf2de6d Removed duplicate method 2016-07-31 16:28:32 -05:00
phxntxm
0b8c63ccb9 Added the ability to delete roles from the server, and remove roles from a member 2016-07-31 16:26:54 -05:00
phxntxm
3f79d6bd5b Added the ability to add roles to members 2016-07-31 16:14:29 -05:00
phxntxm
3b39a1dc65 Added the ability to add roles to members 2016-07-31 16:12:21 -05:00
phxntxm
7132d14815 Added the ability to add roles to members 2016-07-31 16:11:02 -05:00
phxntxm
118a567c4d Added the ability to add roles to members 2016-07-31 16:09:41 -05:00
phxntxm
4c656d4f2c Added the ability to add roles to members 2016-07-31 16:06:46 -05:00
Phxntxm
82337629fe Added the ability to add a role to members 2016-07-31 15:30:55 -05:00
Phxntxm
5a38a63a9a Added the ability to remove a role from the server 2016-07-31 15:04:51 -05:00
Phxntxm
32c8db7d38 Added the ability to remove a role from the server 2016-07-31 15:03:34 -05:00
Phxntxm
db7124503b Added the ability to remove a role from the server 2016-07-31 15:02:51 -05:00
Phxntxm
ddbff0f8a4 Added the ability to remove a role from the server 2016-07-31 14:57:52 -05:00
Phxntxm
529225997d Added the ability to remove a role from the server 2016-07-31 14:56:03 -05:00
Phxntxm
379222529b Added the ability to remove a role from the server 2016-07-31 14:54:12 -05:00
Phxntxm
62ac61c73a Added the ability to remove a role from the server 2016-07-31 14:53:21 -05:00
Phxntxm
3a77330eb3 Changed up formatting for code blocks, as sometimes a line would be removed from it 2016-07-31 14:11:05 -05:00
Phxntxm
692a0d60a2 testing newline in ``` 2016-07-31 13:02:40 -05:00
Phxntxm
57adfcd5a5 Added a newline, as ` seems to be cutting off the last thing in a list 2016-07-31 12:35:24 -05:00
Phxntxm
91424111a9 Removing the change I was testing 2016-07-31 12:32:01 -05:00
Phxntxm
65a6da8bc3 testing a command 2016-07-31 12:29:50 -05:00
Phxntxm
5ad41bf1e0 Added the ability to add the new role to members, after creating 2016-07-31 12:11:20 -05:00
Phxntxm
9b8c7ac8f8 Added the ability to add the new role to members, after creating 2016-07-31 12:05:26 -05:00
Phxntxm
d0f89a5862 Added the ability to add the new role to members, after creating 2016-07-31 12:05:00 -05:00
Phxntxm
08496c3b38 Added the ability to add the new role to members, after creating 2016-07-31 12:03:54 -05:00
Phxntxm
6ecbd529be Added a roles command, to create roles on the fly 2016-07-31 10:51:54 -05:00
Phxntxm
f138c2a986 Added a roles command, to create roles on the fly 2016-07-31 10:49:34 -05:00
Phxntxm
8d6561a440 Added a roles command, to create roles on the fly 2016-07-31 10:34:50 -05:00
Phxntxm
cf062b9fcf Added a roles command, to create roles on the fly 2016-07-31 10:33:53 -05:00
Phxntxm
de042becaa Added a roles command, to create roles on the fly 2016-07-31 10:29:29 -05:00
Phxntxm
9060738e35 Added a roles command, to create roles on the fly 2016-07-31 10:26:19 -05:00
Phxntxm
b8200adcb0 Added a roles command, to create roles on the fly 2016-07-31 10:25:17 -05:00
Phxntxm
6a775adb67 Fixed issue where valid_perms did not show all permissions 2016-07-31 09:20:59 -05:00
Phxntxm
ff5cb2fd52 Added an exception in case we could not connect to twitch at the time 2016-07-31 06:36:00 -05:00
phxntxm
e1b68f52e8 Fixed issue where all valid permissions would not print 2016-07-30 21:20:38 -05:00
phxntxm
2b4d331b1a Corrected issue where the comparison for custom permissions was comparing the wrong value 2016-07-30 21:16:59 -05:00
phxntxm
8e050c016e Updates to comply with PEP 8 2016-07-30 19:20:55 -05:00
phxntxm
560d15eb62 Removed testing command 2016-07-30 17:15:59 -05:00
phxntxm
e6cd9279a0 Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2016-07-30 17:10:07 -05:00
phxntxm
4e21bd2856 Testing ctx.invoied_subcommand 2016-07-30 17:09:42 -05:00
Phxntxm
9b9a044a27 Changed up description of removing rulres 2016-07-30 14:20:31 -05:00
Phxntxm
c3b73b1dfb Added a rules command, to add custom rules per server 2016-07-30 14:18:49 -05:00
Phxntxm
c914fcc6b9 Removed the counter for the deletion of rules 2016-07-30 14:17:36 -05:00
Phxntxm
67476c3e2f Added a message for the bot to send when a rule is removed successfully 2016-07-30 14:16:58 -05:00
Phxntxm
183932ca1f Added a rules command, to add custom rules per server 2016-07-30 14:15:45 -05:00
Phxntxm
b8f46426f8 Added a rules command, to add custom rules per server 2016-07-30 14:14:46 -05:00
Phxntxm
94ce235753 Added a rules command, to add custom rules per server 2016-07-30 14:12:54 -05:00
Phxntxm
f1c8c13de4 Added a rules command, to add custom rules per server 2016-07-30 14:12:35 -05:00
Phxntxm
ac025a5ddb Added a rules command, to add custom rules per server 2016-07-30 14:11:56 -05:00
Phxntxm
04a9ce1ce1 removed not used variable 2016-07-30 14:11:42 -05:00
Phxntxm
d854362304 corrected the detection of when the songs' queue is full 2016-07-30 12:28:53 -05:00
Phxntxm
226b47453e corrected the detection of when the songs' queue is full 2016-07-30 12:25:01 -05:00
Phxntxm
c29b9f6aea corrected syntax error 2016-07-30 10:01:48 -05:00
Phxntxm
945e3ef878 corrected syntax error 2016-07-30 10:00:51 -05:00
Phxntxm
6983cf8d6b Added an uptime command to the bot 2016-07-30 09:59:35 -05:00
Phxntxm
a4b9ce01e8 Added a cooldown to battling 2016-07-30 09:17:18 -05:00
Phxntxm
06caedb4a4 Corrected the permissions printing, to show the actual permission instead of the value 2016-07-30 07:55:26 -05:00
Phxntxm
d544e71104 Printing the command in permissions checking, as it seems to be failing. 2016-07-30 07:44:43 -05:00
Phxntxm
ad6fdac4d1 corrected syntax error 2016-07-30 07:39:10 -05:00
Phxntxm
acdab526a9 corrected syntax error 2016-07-30 07:31:55 -05:00
Phxntxm
70be37b770 Changed the checks on all commands to use the revised custom format 2016-07-30 07:30:28 -05:00
Phxntxm
2728c7c6d7 Custom permissions has been changed to save the value instead 2016-07-30 06:58:01 -05:00
phxntxm
754d2ba043 Updated http request to send a custom user-agent 2016-07-29 19:50:16 -05:00
Phxntxm
e63242b392 Corrected issue where match_multi was never used 2016-07-29 07:54:36 -05:00
Phxntxm
7344058a7b Uses the default bot.loop instead of the one in config 2016-07-29 07:52:50 -05:00
Phxntxm
7a44081ea3 Corrected error when checking if a channel was online 2016-07-29 07:36:27 -05:00
phxntxm
7246982ff1 Corrected syntax errors 2016-07-28 18:17:21 -05:00
phxntxm
36ac88ac45 Corrected syntax errors 2016-07-28 18:16:42 -05:00
phxntxm
187ee31fc8 Corrected syntax errors 2016-07-28 18:15:02 -05:00
phxntxm
5259b3ec3d Removed test command 2016-07-28 18:08:06 -05:00
phxntxm
ac4398e4a8 Testing command 2016-07-28 18:05:06 -05:00
Phxntxm
e68c19fe9d Corrected description on a couple commands 2016-07-28 15:25:22 -05:00
Phxntxm
2e9ba32e87 removed all references to urllib in place of aiohttp 2016-07-28 12:11:48 -05:00
Phxntxm
83109c1766 tuned up a bit of the code 2016-07-28 11:59:12 -05:00
Phxntxm
72b14d315b Tidied up some code 2016-07-28 07:08:44 -05:00
Phxntxm
b93745cb6c Tidied up some coding 2016-07-28 06:50:05 -05:00
Phxntxm
b555f12b48 Removed some useless code 2016-07-28 06:45:27 -05:00
Phxntxm
06e9261107 Corrected issue where author's rating was printed instead of the user's mentioned 2016-07-25 15:24:36 -05:00
Phxntxm
b492b544bd Added total ranks to the printing of the battle stats 2016-07-25 15:15:19 -05:00
Phxntxm
96b1b5fb33 Corrected numbering for the ranking system 2016-07-25 15:11:08 -05:00
Phxntxm
8d3cad3138 Fixed issue where bot was not sending the message of the stats when calculated 2016-07-25 15:10:35 -05:00
Phxntxm
5cfc0510f3 Corrected syntax error 2016-07-25 15:09:21 -05:00
Phxntxm
67a319a3b8 Corrected syntax error 2016-07-25 15:08:27 -05:00
Phxntxm
c7124d448b Corrected syntax error 2016-07-25 15:07:56 -05:00
Phxntxm
96fbe0c288 Removed stats command from interaction cog 2016-07-25 15:00:34 -05:00
Phxntxm
7bc51cfd68 Corrected syntax error 2016-07-25 14:58:09 -05:00
Phxntxm
2764730b8f Provided a stats command that should provide the battling stats for a specific user 2016-07-25 14:57:47 -05:00
Phxntxm
5d9a5efa25 Changed up the printing method for each user's rating 2016-07-25 14:29:40 -05:00
Phxntxm
8cb7999ac0 Corrected syntax error 2016-07-25 14:25:47 -05:00
Phxntxm
5bf79c5a30 Corrected issue where member ID was not added to the tuple needed for the leaderboard 2016-07-25 14:24:26 -05:00
Phxntxm
233cfd81c6 Corrected syntax error 2016-07-25 13:43:17 -05:00
Phxntxm
404013322c Corrected syntax error 2016-07-25 13:41:41 -05:00
Phxntxm
1d18909230 Completed leaderboard command, should print a sorted list of the battle records and rating 2016-07-25 12:50:08 -05:00
Phxntxm
47ab0257a7 Corrected syntax error 2016-07-25 10:59:38 -05:00
Phxntxm
17f9e559cb Changed leaderboard command to use the new rating system 2016-07-25 10:58:39 -05:00
Phxntxm
5bbf104eba Corrected syntax error 2016-07-25 09:49:51 -05:00
Phxntxm
83e620e3e6 Corrected syntax error 2016-07-25 09:32:35 -05:00
Phxntxm
6ce5a0f101 Corrected syntax error 2016-07-25 09:30:20 -05:00
Phxntxm
ec191c06fa Changed the required permissions to be send_messages instead of none 2016-07-25 09:25:41 -05:00
Phxntxm
084111e438 Changed up the battling ranking system to use the Harkness rating system 2016-07-25 09:25:17 -05:00
Phxntxm
bda7086cab Corrected syntax error 2016-07-24 13:57:10 -05:00
Phxntxm
b00a5e5b59 refresh URL upon toggling next song; should stop the random skips 2016-07-24 13:55:18 -05:00
Phxntxm
5f399bac82 Printing flag states for testing playlist error 2016-07-24 13:09:15 -05:00
Phxntxm
43a1025da0 Fixed issue with not providing a die notation for roll command 2016-07-24 10:34:04 -05:00
Phxntxm
1427bce6b3 Removed capitalCase in method 2016-07-24 10:33:46 -05:00
Phxntxm
5fdde35cbb Corrected syntax error 2016-07-24 09:13:23 -05:00
Phxntxm
01988feef1 Corrected syntax error 2016-07-24 09:10:56 -05:00
Phxntxm
16f36ab933 Replaced urllib with aiohttp 2016-07-24 09:09:12 -05:00
Phxntxm
afe8efde54 Corrected syntax error 2016-07-24 09:04:50 -05:00
Phxntxm
122e6049cf Corrected syntax error 2016-07-24 09:04:29 -05:00
Phxntxm
8d9c6eb047 Corrected syntax error 2016-07-24 09:04:12 -05:00
Phxntxm
fb7edc4523 Corrected syntax error 2016-07-24 09:03:33 -05:00
Phxntxm
1f7da0a4f5 Replaced urllib with aiohttp 2016-07-24 09:02:50 -05:00
Phxntxm
4792225061 Corrected syntax error 2016-07-24 08:51:04 -05:00
Phxntxm
5474a994ee Corrected syntax error 2016-07-24 08:50:19 -05:00
Phxntxm
358f3a5830 Replaced urllib with aiohttp 2016-07-24 08:49:05 -05:00
Phxntxm
82f68ff53a removed Timer import, using asyncio now 2016-07-24 07:14:02 -05:00
Phxntxm
4b03e13495 Changed timer on call_later back to 3 minutes, no testing needed anymore 2016-07-23 13:43:39 -05:00
Phxntxm
ff27da7da0 Changed Timer to use asyncio's call_later method 2016-07-23 13:42:31 -05:00
Phxntxm
c69b48bff0 Fixed syntax error 2016-07-23 11:40:52 -05:00
Phxntxm
fe7f958f18 Implemented use of cooldown decorator for boops 2016-07-23 11:39:25 -05:00
Phxntxm
430b1e56d3 Lowering battle timeout to 5 seconds for testing 2016-07-23 11:06:16 -05:00
Phxntxm
e6373e5475 Imported random, as it wasn't imported before 2016-07-23 10:33:22 -05:00
Phxntxm
697afd1f97 Changed up the method to turn off all battling 2016-07-23 10:07:03 -05:00
Phxntxm
c713f359e4 Corrected syntax error 2016-07-23 09:44:25 -05:00
Phxntxm
538d4aa6df Added a name to the Timer thread for better tracking, as it's not completing 2016-07-23 09:42:41 -05:00
Phxntxm
f51dcea46a Changed name of debugging command to debug 2016-07-23 09:36:54 -05:00
Phxntxm
ae44519302 Fixed syntax error 2016-07-23 09:25:55 -05:00
Phxntxm
af02f64f3c Shortened up a few pieces of code in the battling methods 2016-07-23 09:20:49 -05:00
Phxntxm
5072bebec0 Used the upload helper function instead of bot.send_file 2016-07-23 09:20:10 -05:00
Phxntxm
831ed6125f Added the required setup function 2016-07-23 07:01:16 -05:00
Phxntxm
dd8ecf7590 Corrected a syntax error 2016-07-23 07:00:21 -05:00
Phxntxm
d989cb8321 Added two cogs for specific categories 2016-07-23 06:59:02 -05:00
Phxntxm
fd4da26ff8 Removed some commands to make specific cog for them 2016-07-23 06:58:35 -05:00
Phxntxm
cd26475200 Added a tags command to list all the tags from this server 2016-07-22 10:12:53 -05:00
Phxntxm
ba4d6e8c72 Created a test command to test the type hinting 2016-07-22 06:55:35 -05:00
Phxntxm
d9931dcf3b Corrected syntax error 2016-07-22 06:54:59 -05:00
Phxntxm
e783f575e0 Corrected syntax error 2016-07-22 06:54:31 -05:00
Phxntxm
81207a517e Created a test command to test the type hinting 2016-07-22 06:54:03 -05:00
phxntxm
901c81823e Changed downloading doggo images to use aiohttp 2016-07-21 11:23:55 -05:00
Phxntxm
2d9c2a8e87 Fixed syntax error 2016-07-21 07:32:53 -05:00
Phxntxm
42090a39f6 Added a soft fail if there is no result found for the search for the e621 command 2016-07-21 07:30:04 -05:00
phxntxm
65c0628a0b Removed creation of short link for derpibooru links, a discord update broke embedding images if there was a redirection (which is all shortened links are) 2016-07-20 18:51:17 -05:00
phxntxm
187da1fe35 Upped the limit on the amount of posts that can be retrieved from a single e621 call, made the bot say that it's retrieving an image since this might take a bit 2016-07-20 17:17:30 -05:00
phxntxm
bfff8e3ffb Fixed issue where the server was being searched instead of the channel 2016-07-20 17:08:46 -05:00
phxntxm
c5dd7a1cee Removed printing of URL; error has been corrected 2016-07-20 17:05:13 -05:00
phxntxm
5eef079ddf Fixed error where I was adding a space instead of %20 to the URL 2016-07-20 17:03:47 -05:00
phxntxm
ebca490ada Printing the URL, to figure out the error I'm receiving 2016-07-20 17:01:01 -05:00
phxntxm
f34f77f5e5 Added an e621 command to search e621's images 2016-07-20 16:59:19 -05:00
phxntxm
de5503d5ea Changed description of the calendar command 2016-07-18 18:40:09 -05:00
phxntxm
63a040be28 Checked the length of the command list to verify if a command was provided 2016-07-18 18:33:07 -05:00
phxntxm
d1db6f2ec8 Lowercased the month to match the months dictionary 2016-07-18 18:30:52 -05:00
phxntxm
9860351caa Fixed syntax error 2016-07-18 18:29:40 -05:00
phxntxm
e90c764428 Added a calendar command 2016-07-18 18:25:03 -05:00
Phxntxm
2807f91a7b Returned True if succesful, was not returning causing all my commands to think saving content was failing... 2016-07-18 15:02:41 -05:00
Phxntxm
27a2f8f45d Corrected a couple issues with battling 2016-07-18 15:01:07 -05:00
Phxntxm
5d212e36bf Corrected issue with battling 2016-07-18 14:50:34 -05:00
Phxntxm
caef4fc54f Fixed syntax error 2016-07-18 14:37:24 -05:00
Phxntxm
f937b17539 Have bot sending the boops list to see why it's erroring 2016-07-18 14:36:04 -05:00
Phxntxm
9b393d544a Corrected issue where bot was not saving the 1st and 2nd player in a battle 2016-07-18 14:34:43 -05:00
Phxntxm
aac901353f Fixed error where bot was not saving when someone goes live, causing her to spam the channel 2016-07-18 14:32:15 -05:00
Phxntxm
4bdbed71e5 Fixed syntax error 2016-07-18 10:45:40 -05:00
Phxntxm
735dcb0c1e Fixed syntax error 2016-07-18 10:44:37 -05:00
Phxntxm
3c279e2488 Fixed syntax error 2016-07-18 10:44:16 -05:00
Phxntxm
a3559d5a23 Fixed syntax error 2016-07-18 10:39:59 -05:00
Phxntxm
59c5baa598 Fixed syntax error 2016-07-18 10:39:44 -05:00
Phxntxm
5fda5a630b Fixed syntax error 2016-07-18 10:38:07 -05:00
Phxntxm
64cb718bb9 Corrected the checking if the player was player2 2016-07-18 10:26:50 -05:00
Phxntxm
8ba99ec277 Corrected which values to check when checking if someone is battling 2016-07-18 09:51:47 -05:00
Phxntxm
4de0b9eb5b Fixed syntax error 2016-07-18 09:47:39 -05:00
Phxntxm
d085210c64 Fixed syntax error 2016-07-18 09:36:21 -05:00
Phxntxm
9821fb3671 Return True battling is completely empty 2016-07-18 09:35:05 -05:00
Phxntxm
d42c37243d Fixed syntax error 2016-07-18 09:28:59 -05:00
Phxntxm
a62455c896 Fixed syntax error 2016-07-18 09:27:15 -05:00
Phxntxm
6690028e1f Added ability for multiple battles to be going on at once 2016-07-18 09:26:11 -05:00
Phxntxm
afbe200c63 Fixed syntax error 2016-07-18 08:43:25 -05:00
Phxntxm
a36978491e Updated json file to contain wins and losses for battles, instead of a string of the record 2016-07-18 08:36:57 -05:00
Phxntxm
dd0d54954d Modified cogs to print an error if Bonfire could not save any data 2016-07-18 07:06:13 -05:00
Phxntxm
706dedb980 Changed saving method to check if json can dump the content, before truncating the file 2016-07-18 06:53:32 -05:00
phxntxm
a9267f106e Git rid of useless references, and updated for pep8 2016-07-17 16:10:12 -05:00
phxntxm
362270510f Fixed syntax error 2016-07-17 16:03:07 -05:00
phxntxm
6e34c46df0 Set _perm to None as it couldn't be referenced before 2016-07-17 15:58:13 -05:00
phxntxm
11aae5096d Changed base permission to a valid permission 2016-07-17 15:56:29 -05:00
phxntxm
a6449de588 Set joke command for a valid permission 2016-07-17 15:54:31 -05:00
Phxntxm
84f2ec7159 Fixed syntax error 2016-07-17 15:24:13 -05:00
Phxntxm
d9475412cf Changed custom permissions to send_message as the lowest 2016-07-17 15:23:38 -05:00
Phxntxm
6aab05fd7b Changed valid_perms to use the permissions provided by discord library 2016-07-17 14:13:27 -05:00
Phxntxm
1c20ef2754 Printing full traceback for error 2016-07-17 13:20:44 -05:00
Phxntxm
359aae4bf2 Fixed syntax error 2016-07-17 12:48:50 -05:00
Phxntxm
0000b21054 Changed check for custom permissions, to look at the json file instead of MySQL 2016-07-17 12:45:24 -05:00
Phxntxm
dfea4bbcb5 Fixed syntax error 2016-07-17 12:23:18 -05:00
Phxntxm
7ad223418e Truncated file to fix issue when new content is less than old content 2016-07-17 12:12:57 -05:00
Phxntxm
a2fe435323 Truncated file to fix issue when new content is less than old content 2016-07-17 12:11:47 -05:00
Phxntxm
e51251d435 Changed writing method to file 2016-07-17 11:34:49 -05:00
Phxntxm
4d69756b2f Changed writing method to file 2016-07-17 11:33:28 -05:00
Phxntxm
37b6c58713 Fixed syntax error 2016-07-17 11:12:34 -05:00
Phxntxm
5565b6cd91 Fixed syntax error 2016-07-17 11:12:11 -05:00
Phxntxm
233364f322 Fixed syntax error 2016-07-17 11:11:02 -05:00
Phxntxm
1eafbb223d Fixed syntax error 2016-07-17 11:07:21 -05:00
Phxntxm
cdb5372682 Fixed syntax error 2016-07-17 10:59:37 -05:00
Phxntxm
9b134a9b43 Passed context to twitch as it's now needed 2016-07-17 10:48:42 -05:00
Phxntxm
904488c589 Fixed syntax error 2016-07-17 10:25:39 -05:00
Phxntxm
dc8b14f581 Fixed syntax error 2016-07-17 10:25:06 -05:00
Phxntxm
071ea01426 Fixed syntax error 2016-07-17 10:24:49 -05:00
Phxntxm
016606c0b2 Fixed syntax error 2016-07-17 10:21:25 -05:00
Phxntxm
c7605cbaf3 Fixed syntax error 2016-07-17 10:19:41 -05:00
Phxntxm
59594a54d9 Changed all references to MySQL saving content, to json content 2016-07-17 10:17:47 -05:00
Phxntxm
9a880d343c Added new method for saving content as a json file instead of mysql 2016-07-17 06:49:05 -05:00
Phxntxm
c849dd2bf6 Added saveContent method 2016-07-16 15:26:30 -05:00
Phxntxm
5b5a22c03b Removed loop and used permissions_in method instead in this check 2016-07-16 15:26:15 -05:00
Phxntxm
0dfa188542 Fixed indentation issue in checks 2016-07-16 13:09:44 -05:00
Phxntxm
acb9dfe340 Removed test printing, corrected error in the permission validation for perms add 2016-07-16 12:34:42 -05:00
Phxntxm
44af503a69 Fixed syntax error 2016-07-16 12:30:58 -05:00
Phxntxm
686918fb80 Removed error prenting to a file 2016-07-16 12:28:15 -05:00
Phxntxm
dd3fd91c8c Adding printing of perms and command for testing an error 2016-07-16 12:18:24 -05:00
Phxntxm
4f93370cdb Adding printing of perms and command for testing an error 2016-07-16 12:14:29 -05:00
Phxntxm
61defbc824 Changed error handling for removing a tag, to print the tag that is failing 2016-07-16 11:57:17 -05:00
Phxntxm
ae6692867a Added custom permissions accessiblity for all commands 2016-07-16 11:49:14 -05:00
Phxntxm
2e5135dd77 Added custom permissions accessiblity for all commands 2016-07-16 11:48:10 -05:00
Phxntxm
d251d20e9a Added a command to dynamically add doggo images 2016-07-16 10:56:20 -05:00
Phxntxm
95bf4ff886 Removed images from repository 2016-07-16 10:24:10 -05:00
Phxntxm
530f344a38 Fixed syntax error 2016-07-16 09:46:02 -05:00
Phxntxm
9df0e06d42 Added compatbility to use the doggo command for any doggo image saved 2016-07-16 09:45:44 -05:00
Phxntxm
a2aa235ebd Added doggo command 2016-07-16 09:20:17 -05:00