1
0
Fork 0
mirror of synced 2024-09-16 17:37:49 +12:00
Commit graph

131 commits

Author SHA1 Message Date
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
Phxntxm
0ca881d7cd Fixed an error causing errors to not print 2016-07-09 09:47:59 -05:00
Phxntxm
eb182a3040 Fixed missing parenthises on line 50 2016-07-09 08:24:26 -05:00
Phxntxm
c00b7d446d Added universal exception handling, removed most exception handling from the commands themselves 2016-07-09 07:57:25 -05:00
phxntxm
87238709df Changed the help command to not pm the user 2016-07-08 20:45:16 -05:00
phxntxm
45ab47bb75 Made function variables more explicit, for the help command to be more obvious 2016-07-08 20:42:33 -05:00
phxntxm
2bde1ce936 Complete modification to use cogs 2016-07-08 20:27:19 -05:00
phxntxm
3d0c73e0a8 Syncing git with server 2016-07-08 18:26:43 -05:00
phxntxm
4139bd2cce Added the second check for boop_db in the checkSetup in on_ready 2016-07-07 17:23:40 -05:00
phxntxm
2a9c64f7aa Modified file to match PEP-8 2016-07-07 17:10:24 -05:00
Dan Hess
77e5b84c39 Add files via upload 2016-07-07 08:05:42 -05:00