1
0
Fork 0
mirror of synced 2024-07-02 21:20:46 +12:00
Commit graph

208 commits

Author SHA1 Message Date
phxntxm 2852576250 Corrected the event to wait for 2017-03-07 17:32:40 -06:00
phxntxm 16b9dc36c7 Add a check in case there are no custom permissions 2017-03-07 17:24:02 -06:00
phxntxm 82a26df045 Changed the check for a private channel to look for the type 2017-03-07 17:22:10 -06:00
phxntxm 3543d205f2 Update for rewrite: Batch 3 2017-03-07 17:18:18 -06:00
phxntxm a05b768274 Updated for rewrite: Batch 2 2017-03-07 16:35:30 -06:00
Phxntxm 78922eda6c Added a check for if the message has been removed while still being set up 2017-03-03 14:29:51 -06:00
Phxntxm 98c070a203 Added a method to check if the database is setup correctly 2017-02-25 15:45:39 -06:00
Phxntxm d116a546a0 Added the db_check method 2017-02-25 15:45:27 -06:00
Phxntxm f8cb681480 Added the lol_key to the config file 2017-02-17 22:11:47 -06:00
Phxntxm 7b4ef527d1 Added the ability to change which page to start on 2017-02-17 18:00:13 -06:00
Phxntxm a124eaf89a Added a method to convert images to jpeg 2017-02-12 20:33:24 -06:00
Phxntxm f9ce8ef85e Added an exception catch for when permissions aren't given to the bot for pagination 2017-02-12 17:36:11 -06:00
Phxntxm e90bab4a84 Made get_all_commands available 2017-02-12 15:55:49 -06:00
Phxntxm 31ed6b32fb Made get_all_commands available 2017-02-12 15:54:21 -06:00
Phxntxm 541e1a0ce7 Updated to use 10 results per page 2017-02-12 15:31:18 -06:00
Phxntxm c1862d04e8 Corrected syntax error 2017-02-11 17:18:40 -06:00
Phxntxm 81c2f1b7f6 Added the paginator to the init package file 2017-02-11 17:14:47 -06:00
Phxntxm 50d08e469d Added a paginator method to use embeds 2017-02-11 17:14:31 -06:00
Phxntxm 7459d79476 Corrected error where remnants of the last method weren't overwritten 2017-01-28 17:04:57 -06:00
Phxntxm 556c22b9ad Used the request method to download the image; handled the downloading failing 2017-01-23 16:35:00 -06:00
Phxntxm afb8b5b34f Added an exception for if a message's server is None (i.e. this was sent in a private message/group chat) 2017-01-21 16:35:16 -06:00
Phxntxm 2ea4240f1c Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2017-01-20 16:50:12 -06:00
Phxntxm 1883054d58 Updated the requests method to be a bit more in depth 2017-01-20 16:50:02 -06:00
Phxntxm 442e398f1b Added a generic request method to the utilities 2017-01-08 14:05:37 -06:00
phxntxm 7b55a6979f Changed the hangman description to reflect the current way phrases are chosen 2017-01-05 12:13:22 -06:00
Phxntxm 027b0a18be Added a count, as well as a way to iterate through the deck 2016-12-11 20:50:26 -06:00
Phxntxm 9c241976aa Added a cards utility class 2016-12-11 14:28:02 -06:00
Phxntxm 77b8cd2945 Added an init file, to import all utilities necessary 2016-12-11 14:25:38 -06:00
Phxntxm 821f33f5d1 Corrected how to wrap the BytesIO object 2016-12-09 21:34:17 -06:00
Phxntxm e0f7260a70 Moved utility functions to the utility file 2016-12-09 21:25:08 -06:00
Phxntxm 8bfe396c07 Added shard id/count to the server info command 2016-12-08 21:10:05 -06:00
Phxntxm 3943c8e740 Corrected issue where qualified name was being pulled on a child command 2016-12-01 23:02:33 -06:00
Phxntxm 49bd09fc52 Corrected issue were aliases were still detected on child commands 2016-12-01 22:59:59 -06:00
Phxntxm dd3405141b Corrected issue where suppressed error hid an issue with which list was sent to the recursive calls 2016-12-01 22:56:57 -06:00
Phxntxm 478c3172bf Corrected syntax error 2016-12-01 22:04:03 -06:00
Phxntxm aa3b874b1f Corrected syntax error 2016-12-01 22:02:42 -06:00
Phxntxm 0c3245aecc Added the new utilities module 2016-12-01 22:01:53 -06:00
Phxntxm 8e19bd947a Added a help URL to be used with the help command 2016-11-10 21:03:05 -06:00
Phxntxm 280728721e Added extensions to the config file instead of by default 2016-10-30 22:14:30 -05:00
Phxntxm 79e9e66d95 Changed image creation to use tuples, to allow order preservation 2016-10-30 16:54:58 -05:00
Phxntxm 5c9f2688e1 Added the osu key to the config 2016-10-28 22:16:01 -05:00
Phxntxm b28d6ff4b8 Added a default user agent to use, modifiable from the config file 2016-10-28 19:33:55 -05:00
phxntxm 7e59c813ec Corrected syntax error 2016-10-08 00:11:10 -05:00
Phxntxm fe4258e32f Added the ID's needed for DA 2016-10-07 21:45:00 -05:00
Phxntxm f0d85d5796 Corrected last issues with the motd command 2016-10-07 15:52:43 -05:00
Phxntxm f7d3d827ba Used the correct format for the default avatar image 2016-10-07 15:43:55 -05:00
Phxntxm 775da3ae63 Returned true to allow commands in PM if they're registered as such 2016-10-06 20:16:24 -05:00
phxntxm a744431ecb Removed uneeded udates of cache 2016-10-05 20:04:49 -05:00
phxntxm 34d6700794 Update cache whenever database commands are ran 2016-10-05 13:44:12 -05:00
phxntxm 307bc575c4 Corrected custom_permissions checking 2016-10-05 13:43:49 -05:00
Dan Hess 1012fa7e72 Merge pull request #12 from MahxieNoodle/patch-1
Blurry image fix.
2016-10-04 01:51:13 -05:00
Phxntxm 87b3b7ad39 Added a command to search for a youtube video 2016-10-03 21:42:47 -05:00
MahxieNoodle 04fd87fef1 Blurry image fix.
Potential fix for blurry image.
2016-10-02 15:03:15 -07:00
MahxieNoodle 045c2cf923 Fix for dynamic image size.
Added 'canvas_height' this is the size of the header and title space.
2016-10-01 20:50:18 -07:00
Phxntxm 24ed91e1fe Updated readme/sample config 2016-10-01 22:40:49 -05:00
Phxntxm f4267ef84a Changed base height to help avoid black backgrounds showing up 2016-10-01 20:00:54 -05:00
phxntxm 653a8039f3 Used a default image if someone does not have an avatar 2016-10-01 13:11:34 -05:00
phxntxm 84cff2b35d Disabling battling until it's been fixed 2016-09-29 01:58:51 -05:00
phxntxm 50dcecdfc8 Corrected the order that paramaters were sent to the update record method 2016-09-28 23:57:57 -05:00
phxntxm 7cfcf53476 Corrected returning a prefix when a server does not have a custom prefix 2016-09-28 21:34:58 -05:00
phxntxm 19ff5c95b1 Corrected error where content was being overwritten 2016-09-28 19:23:29 -05:00
phxntxm bdacd6ae92 Corrected error where no content was saved when using add 2016-09-28 19:17:07 -05:00
phxntxm 26f32f9967 Update to saving method, using a much more robust method 2016-09-28 18:39:34 -05:00
Phxntxm c1bc48bc9e First implementation of new saving methods 2016-09-25 22:58:12 -05:00
phxntxm a6586bc467 Derp... 2016-09-24 00:59:45 -05:00
phxntxm 05826aec69 Converted dict items to a list for easier parsing 2016-09-24 00:58:59 -05:00
phxntxm fca698b557 Moved offset to the class, as due to the scope it couldn't be found 2016-09-24 00:47:56 -05:00
phxntxm a8078757fa Ensured that the paths needed to create images exists 2016-09-24 00:37:48 -05:00
phxntxm 2284049af0 Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2016-09-24 00:33:27 -05:00
phxntxm 4c0d126c10 Initial implementation of creating a banner for stats 2016-09-24 00:33:17 -05:00
Phxntxm 0febc3520f Corrected how to get custom permission values 2016-09-23 16:28:33 -05:00
phxntxm 2fef94db0f Removed usage of config.loop since bot.loop already exists 2016-09-20 17:22:02 -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 0fe1868b4e Corrected instance checking on content 2016-09-01 00:32:15 -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 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 d8b2fcb3a2 Added the ability to get server/member count across all shards 2016-08-31 19:07:38 -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 16aa8954cb Matched up all mismatched 'prefix' and 'prefixes' 2016-08-31 14:17:33 -05:00
phxntxm 0f21cf5155 Corrected what was checked in our prefix method 2016-08-31 14:13:09 -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 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