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

160 commits

Author SHA1 Message Date
phxntxm
33739621f5 Updated for new saving method 2016-09-28 18:52:33 -05:00
phxntxm
900e8026ee Corrected how to add member/server usage on command completion 2016-09-24 04:55:14 -05:00
Phxntxm
050a3b8d2f Implemented tracking usage of commands 2016-09-23 21:38:58 -05:00
Phxntxm
3aec94a5cc Corrected how to check for permission errors 2016-09-22 20:48:18 -05:00
Phxntxm
85103727d6 Corrected how to check for a 403 error 2016-09-17 20:29:48 -05:00
Phxntxm
f4e00298c0 Changed how the errors were detected, to ensure unwanted errors aren't logged 2016-09-11 17:34:28 -05:00
Phxntxm
ffd872abc4 Corrected checking to ensure errors are what i want shown 2016-09-09 22:29:18 -05:00
Phxntxm
f67f78a62a Corrected logic of stopping errors from logging 2016-09-05 21:30:05 -05:00
Phxntxm
58e3913f91 Stopped forbidden messages from logging, as it apperas all issues around them have been resolved 2016-09-05 21:28:07 -05:00
phxntxm
f7bdf39845 Ensured uptime is valid by making it first 2016-08-31 16:19:39 -05:00
phxntxm
c8bb26b2e2 Added statsupdate, as we're ready to merge to master 2016-08-31 14:48:07 -05:00
phxntxm
a8e026b8f6 Used the method to check for custom prefixes 2016-08-31 14:09:47 -05:00
phxntxm
138021bd90 Changed nsfw and rules so that they can are dictionaries 2016-08-30 21:48:37 -05:00
phxntxm
6f9acb0d7a Changed up what was returned on invalid searches 2016-08-30 20:48:30 -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
cad6fd4e14 Awaited the new save/get content methods 2016-08-30 19:11:25 -05:00
phxntxm
ac199adcf3 Corrected the restart variable 2016-08-30 19:04:12 -05:00
phxntxm
0a0776651d Removed steam as a cog 2016-08-30 19:02:32 -05:00
phxntxm
5b8fc913b8 PEP8 changes 2016-08-30 17:33:46 -05:00
phxntxm
11e832027a Corrected the logger, removed statsupdate while testing since this is not on a valid bot for carbon/bots.discord.pw 2016-08-30 16:21:02 -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
aa506faa2b Added sharding 2016-08-30 14:16:24 -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
0173ff0924 Printed out the amount of messages removed when pruning 2016-08-25 23:56:16 -05:00
Phxntxm
0c1d48f289 Added steam to the default cogs to load 2016-08-20 17:25:22 -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
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
276d35213f Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2016-08-12 00:17:47 -05:00
Phxntxm
96c58d4341 Changing directory to the one the main file is in, so relative paths can be used reliably. This allows the code to easily be used by others if needed 2016-08-11 21:13:02 -05:00
phxntxm
50807e0109 Updated paths to use a variable for the base_path, making it easier to update if something moves 2016-08-10 19:46:23 -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
7fcb0738f8 Printing error when a command's requirements are missing, as based on my error log, people don't know how to use the help command 2016-08-08 18:57:33 -05:00
Phxntxm
8e2c343cc1 reset battling in on_ready case there was a disconnect, and this was not cleared when it should be 2016-08-07 07:51:35 -05:00
Phxntxm
44ff02c4ba Added an error exception for NoPrivateMessage 2016-08-07 06:53:41 -05:00
Phxntxm
21806d4a00 Added an error exception for NoPrivateMessage 2016-08-07 06:52:20 -05:00
Phxntxm
b13f0c6985 Changed the order of the printing of errors; some errors aren't providing a traceback and causing the actual error to stop printing 2016-08-07 06:49:01 -05:00
Phxntxm
01402384ac Changed the order of the printing of errors; some errors aren't providing a traceback and causing the actual error to stop printing 2016-08-07 06:47:42 -05:00
phxntxm
b5df9ce404 Changed uptime to use pendulum instead of datetime 2016-08-06 17:20:16 -05:00
Phxntxm
f2a486c62f Provided more details printing, by printing the full command upon error 2016-08-06 11:52:15 -05:00
Phxntxm
e64ce2b06c Corrected syntax error on error printing 2016-08-06 09:39:02 -05:00
Phxntxm
6004664bf1 Added a bit more information on errors 2016-08-06 07:16:49 -05:00
phxntxm
721fe198fc Printing out the time left when a command is on cooldown 2016-08-03 20:40:35 -05:00
phxntxm
c975e2b50c Printing out the time left when a command is on cooldown 2016-08-03 20:31:38 -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
cce19493c1 Check if noticiations are set to on for a server; assume off by default 2016-08-01 10:28:00 -05:00
Phxntxm
040c596f40 Added the statsupdate cog to load on startup 2016-08-01 08:57:09 -05:00
Phxntxm
2bff6b6de2 Removed notifications of on leave/joins 2016-08-01 08:21:49 -05:00
Phxntxm
e5265bc55d Removed printing of invalid commands 2016-08-01 08:14:16 -05:00
Phxntxm
73bbede667 Removed printing of invalid commands 2016-08-01 08:10:52 -05:00
Phxntxm
6e163eb080 Removed printing of invalid commands 2016-08-01 08:06:11 -05:00
Phxntxm
b8200adcb0 Added a roles command, to create roles on the fly 2016-07-31 10:25:17 -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
6983cf8d6b Added an uptime command to the bot 2016-07-30 09:59:35 -05:00
Phxntxm
fe7f958f18 Implemented use of cooldown decorator for boops 2016-07-23 11:39:25 -05:00
Phxntxm
f27e1a60cb Changed writing method for the error_log, to append to the file instead of overwriting it each time 2016-07-23 09:19:53 -05:00
Phxntxm
bfbeaf1a88 Added the new cogs as default ones to load when the bot starts 2016-07-23 07:04:33 -05:00
Phxntxm
66522af1b6 Attempting to print full traceback to error file 2016-07-18 14:57:23 -05:00
Phxntxm
50e7d6a6e6 Attempting to print full traceback to error file 2016-07-18 14:55:41 -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
4a42611c1a Removing traceback printing 2016-07-17 13:46:44 -05:00
Phxntxm
1c20ef2754 Printing full traceback for error 2016-07-17 13:20:44 -05:00
Phxntxm
1f0eadc9f2 Set on_ready to look in the json file instead of MySQL 2016-07-17 12:17:42 -05:00
Phxntxm
8553ae3b20 Set on_ready to look in the json file instead of MySQL 2016-07-17 12:15:39 -05:00
Phxntxm
686918fb80 Removed error prenting to a file 2016-07-16 12:28:15 -05:00
Phxntxm
ff32c8685d Set bot to only pm help messages if the message is too long 2016-07-16 06:47:01 -05:00
phxntxm
03dda8afc8 Checking the actual permissions instead of the role 2016-07-15 18:30:46 -05:00
phxntxm
1fd71e3943 Found the error, removing printing of full traceback 2016-07-15 18:21:38 -05:00
phxntxm
59c6fcc868 Printing full traceback for error testing 2016-07-15 18:16:00 -05:00
phxntxm
5e0f8d370a Printing full traceback for error testing 2016-07-15 18:14:20 -05:00
phxntxm
347da70ed0 Printing full traceback for error testing 2016-07-15 18:13:12 -05:00
phxntxm
227a09e566 Printing full traceback for error testing 2016-07-15 18:11:36 -05:00
phxntxm
3b1551aab5 Printing full traceback for error testing 2016-07-15 18:06:28 -05:00
Phxntxm
ce1077bcd9 Handling testing exception in the cog for now 2016-07-15 10:59:06 -05:00
Phxntxm
edaa480aef setting up logger for easy future use for errors like this 2016-07-15 10:57:33 -05:00
Phxntxm
1094dbbeaf setting up logger for easy future use for errors like this 2016-07-15 10:51:52 -05:00
Phxntxm
9f17a0be5f Printing full traceback, as I can't find my error at all 2016-07-15 10:48:01 -05:00
Phxntxm
96fc810818 Printing full traceback, as I can't find my error at all 2016-07-15 10:46:11 -05:00
Phxntxm
9595db645f Printing full traceback, as I can't find my error at all 2016-07-15 10:44:58 -05:00
phxntxm
13c2d479c5 Added overwatch cog as a default cog to load 2016-07-13 23:00:30 -05:00
phxntxm
f49d21f298 Changed up the error messages a bit, to match Bonfire's implicit personality 2016-07-13 16:24:21 -05:00
phxntxm
f37e094d13 Added error handling for trying to run a command without permissions 2016-07-13 16:16:47 -05:00
phxntxm
57c820d3c7 The list of commands is starting to get quite long, it now splits into two messages. Having the bot PM the help command now 2016-07-13 09:30:14 -05:00
Phxntxm
38d4a92235 Changed notify to be a subcommand of twitch 2016-07-11 10:01:59 -05:00
Phxntxm
656990686b Added error handling for bad arguments 2016-07-11 07:40:03 -05:00
Phxntxm
cb0154c077 Stopped both on_command_error catches from running 2016-07-11 06:43:34 -05:00
Phxntxm
a7ec119011 Changing the CommandNotFound error to refer to the commands class 2016-07-11 06:42:27 -05:00
Phxntxm
7de338c074 Testing out the commands error 2016-07-11 06:40:53 -05:00
phxntxm
c44fcfcbbf Removed checks, am checking this in the command now. 2016-07-10 16:57:52 -05:00
Phxntxm
e70a0b5d6e Set the twitch cog to load by default 2016-07-10 12:28:16 -05:00
Phxntxm
dd85ba49a5 Added notation support for rolling dice 2016-07-10 08:58:03 -05:00
Phxntxm
d79ef7281c Added error handling for Invalid Commands 2016-07-10 06:53:56 -05:00
Phxntxm
e9bacca70d Fixed global command error handling 2016-07-09 11:40:27 -05:00
Phxntxm
28b47d2a13 Properly closed MySQL connections 2016-07-09 11:33:48 -05:00
Phxntxm
65e25b52ff Changed the MySQl connection to disconnect and reconnect on each query, to avoid timeouts 2016-07-09 11:02:33 -05:00