1
0
Fork 0
mirror of synced 2024-06-28 11:10:27 +12:00
Commit graph

1405 commits

Author SHA1 Message Date
phxntxm ac8689881d Check if a message should be ignored 2017-04-11 00:22:11 -05:00
Phxntxm 38133ad8bb Add the ability to ignore channels/members 2017-04-10 20:26:28 -05:00
Phxntxm e531d0ab4d Correct issue where forbidden_tags were put in the wrong place 2017-04-10 19:44:10 -05:00
Phxntxm 71a9512888 Catch when a raffle is running in a server the bot is no longer in 2017-04-09 21:13:34 -05:00
Phxntxm f69b947cfb Correct region retrieving 2017-04-09 17:37:00 -05:00
Phxntxm 78b511c867 Compare the channel instead of the ID 2017-04-09 17:32:50 -05:00
Phxntxm 79994c6cf4 Convert files to the new discord.File format 2017-04-08 22:16:12 -05:00
Phxntxm 74d22f2d8d Update no_pm to use the decorator instead 2017-04-08 22:04:46 -05:00
Phxntxm 6029797f1c Removed strawpoll 2017-04-08 22:04:36 -05:00
Phxntxm f99afec44f Catch not being able to send a message 2017-04-08 21:51:39 -05:00
Phxntxm c4b29224a6 Catch twitch returning no information 2017-04-08 21:51:22 -05:00
Phxntxm a45f37324e Catch if a user has no top scores 2017-04-06 17:09:25 -05:00
Phxntxm e0136bce2f Catch if a user has no top scores 2017-04-06 17:08:40 -05:00
Phxntxm 66bafe381a Forbid a couple of things that can get tags and hangman stuck 2017-04-06 17:01:35 -05:00
Phxntxm 063d64e86c Forbid a couple of things that can get tags and hangman stuck 2017-04-06 16:53:37 -05:00
Phxntxm d0f96db9b5 Disallow prefixes over 20 characters 2017-04-06 16:41:31 -05:00
Phxntxm f31dc9c24b Correct issue where an invalid attribute is being referenced 2017-04-01 22:07:47 -05:00
Phxntxm 503f710a4b Set the filename as the correct extension 2017-04-01 16:12:44 -05:00
Phxntxm 66cba8a0a7 Correct how to print the time left 2017-03-27 22:11:36 -05:00
Phxntxm 5631913021 Fix a couple issues in how roulette functions 2017-03-27 22:06:05 -05:00
Phxntxm 18a36ad9a0 Correct reference to the start time 2017-03-27 21:57:31 -05:00
Phxntxm 08980f4cbb Add a setup method 2017-03-27 21:56:20 -05:00
Phxntxm 24a23f1277 Correct syntax error 2017-03-27 21:55:21 -05:00
Phxntxm 7f2db7b3a6 Add a roulette command 2017-03-27 21:54:14 -05:00
Phxntxm e8b725484a Add a check to ensure that we have online channels 2017-03-27 21:27:17 -05:00
Phxntxm 26bd3931a6 Catch if a user has no server tags 2017-03-27 18:33:41 -05:00
Phxntxm dd3742a318 Call strip 2017-03-27 18:31:42 -05:00
Phxntxm bf7326dccb Add a mytags command to show all of a user's tags on the server 2017-03-27 18:30:58 -05:00
Phxntxm bc0aac4009 Add another lower/strip in case old tags aren't 2017-03-27 18:24:53 -05:00
Phxntxm a77d22effc Lower and strip triggers for tags on creation and usage 2017-03-27 18:23:09 -05:00
Phxntxm 1296ab6d39 Disallow tags to be created with the same name as subcommands 2017-03-27 17:48:27 -05:00
Phxntxm 989d909c2f Update how message's are edited to match rewrite 2017-03-27 14:37:58 -05:00
Phxntxm 37a5fb3701 Update the way channels are compared to work with rewrite 2017-03-27 13:57:35 -05:00
Phxntxm 20734739a8 Convert list comp to normal for loop 2017-03-26 22:13:36 -05:00
Phxntxm f6d143dd79 Await the coroutine 2017-03-26 22:12:21 -05:00
Phxntxm 586e0e45f8 Don't include commands that a user can't run 2017-03-26 21:10:08 -05:00
Phxntxm 75029b9abb Import asyncio so timeout's can be handled 2017-03-26 21:00:36 -05:00
Phxntxm 86169750db Update hangman to accept custom created hangman phrases again 2017-03-26 18:57:52 -05:00
Phxntxm 69c7562c58 Correct issue where the type of channel wasn't being checked 2017-03-26 13:46:51 -05:00
Phxntxm 6af06cfa30 Add a message if you try to edit a non-existing tag 2017-03-25 23:02:47 -05:00
Phxntxm b94a2438b1 Correct syntax error 2017-03-25 23:00:30 -05:00
Phxntxm 5e0a4a763a Correct syntax error 2017-03-25 23:00:07 -05:00
Phxntxm e1b8bdcbe9 Added a tag edit command 2017-03-25 22:59:08 -05:00
Phxntxm 5cf232edf6 Don't paginate if there are no tags 2017-03-25 22:46:36 -05:00
Phxntxm 5f9283fff9 Actually remove the tag from the database 2017-03-25 22:45:39 -05:00
Phxntxm 29242efdf0 Correct reference to the tag removed 2017-03-25 22:42:56 -05:00
Phxntxm 2a82a7d78a Change server to guild 2017-03-25 22:41:54 -05:00
Phxntxm 0968284ede Implement the new tag setup 2017-03-25 22:39:18 -05:00
Phxntxm ea8535a647 Add a score requirement to filter out some terrible posts on derpi 2017-03-25 21:06:36 -05:00
Phxntxm 93a245ffa5 Correct subcommands retrieving 2017-03-25 20:27:10 -05:00
Phxntxm 3edd9b64de Update to match the new commands format 2017-03-25 19:20:30 -05:00
Phxntxm 0806cdadb2 Add a repl command 2017-03-25 18:37:12 -05:00
Phxntxm 30df3be94a Catch an invalid response in some cases 2017-03-24 15:37:23 -05:00
Phxntxm a5d8e849aa Catch an invalid nickname being passed 2017-03-24 15:37:03 -05:00
Phxntxm 4a7eaaf4da Correct issue where _request was added to the keys, causing an invalid region to be detected 2017-03-24 15:36:47 -05:00
Phxntxm 8e2c943d24 Correct issue where DM Channels were not detected 2017-03-24 14:14:13 -05:00
Phxntxm e985eae89a Correct issue where DM Channels were not detected 2017-03-24 14:13:46 -05:00
Phxntxm 078f1bbdf4 Add a command to send a random dog picture 2017-03-23 22:11:22 -05:00
Phxntxm 11142f9fa8 Add a command to send a random cat picture 2017-03-23 22:02:56 -05:00
Phxntxm a5b21eaa68 Handle if someone has battled someone then left the server 2017-03-23 22:02:42 -05:00
phxntxm 13f2b89e81 Handle no server settings 2017-03-22 22:21:59 -05:00
phxntxm 788743de25 Update to allow nsfw channel management in DM 2017-03-22 22:21:34 -05:00
Phxntxm 66099fe6b1 Use self to get bot 2017-03-20 17:27:34 -05:00
Phxntxm d0bd554b04 Use get_member instead of a generator that includes every member 2017-03-20 17:26:26 -05:00
Phxntxm e9a4d5aee8 Use bot.users instead of the generator, to stop the blocking call 2017-03-20 17:24:41 -05:00
Phxntxm 9cccbdb8de Comment out blocking call temporarily 2017-03-20 16:56:05 -05:00
Phxntxm 11cee7e7a4 Ensure more than one string is provided 2017-03-20 16:18:29 -05:00
Phxntxm 6de148a1c7 Remove logging for rethinkdb instance open/close 2017-03-19 22:48:22 -05:00
Phxntxm 748bc4f374 If there are no server settings at all, assume no rules 2017-03-19 22:13:14 -05:00
Phxntxm cbc29c226f Fixed an issue where cache would update even on a get request, causing an infinite loop 2017-03-19 22:11:40 -05:00
Phxntxm 67d6c43e96 Fixed an issue where cache would update even on a get request, causing an infinite loop 2017-03-19 22:11:14 -05:00
Phxntxm c0c135fb3d Compare the ID instead of the message instance 2017-03-19 21:47:06 -05:00
Phxntxm 5c90d3e7fa Start logging rethinkdb open/close as there appears to be stuck connections 2017-03-19 21:46:54 -05:00
Phxntxm f2ad84e0c5 Trigger typing for stats that show images as those can take a while to format/send 2017-03-19 18:04:52 -05:00
Phxntxm 8f4421e6a1 Catch if we can't connect to OW API 2017-03-19 18:02:34 -05:00
Phxntxm c2b20a9a29 Correct how to check if a channel is a DM Channel 2017-03-19 17:43:42 -05:00
Phxntxm e158d18c4f Silently catch unable to send message errors 2017-03-19 17:43:28 -05:00
Phxntxm ae46593ec9 Correct issue where a member couldn't be found due to comparing a string and an int 2017-03-19 17:24:10 -05:00
Phxntxm 7d54882549 Convert to string for polls 2017-03-16 15:19:48 -05:00
phxntxm 209e1522f1 Add a possible error that can be caught 2017-03-15 22:36:00 -05:00
phxntxm 0c25f4ab6f Use get in case the member doesn't exist 2017-03-15 22:35:44 -05:00
phxntxm efcd7ad251 Ensure the message responded to is the one we want 2017-03-15 21:29:51 -05:00
phxntxm 2c5c69cfce Accept the correct parameters 2017-03-15 21:22:02 -05:00
phxntxm 94c5ef1873 Merge branch 'rewrite' of https://github.com/Phxntxm/Bonfire into rewrite 2017-03-15 14:10:35 -05:00
Phxntxm a88ee2972b Correct how to check if a channel is online 2017-03-12 21:56:24 -05:00
Phxntxm e0534d1d5b Make a call to get the online channels 2017-03-12 21:54:00 -05:00
Phxntxm c1c1a7c20f Updated picarto to work with rewrite 2017-03-12 21:51:00 -05:00
Phxntxm 9caf781289 Correctly handle str/int conversions 2017-03-12 17:14:15 -05:00
Phxntxm 582e33d907 Correctly handle str/int conversions 2017-03-12 17:08:49 -05:00
Phxntxm 22c4b57991 Handle if no server_settings are set 2017-03-12 17:07:42 -05:00
Phxntxm dcfbc0a3f0 Update some features to work with rewrite 2017-03-12 17:05:47 -05:00
Phxntxm 630a11c1cf Rewrite the channel loop for twitch 2017-03-12 16:59:56 -05:00
Phxntxm 1473dc9e67 Convert id's to int 2017-03-12 16:46:43 -05:00
Phxntxm 1e535a3842 Update checks to not create the deviant art table 2017-03-12 16:21:08 -05:00
Phxntxm 7a41730f81 Not supporting DA anymore 2017-03-12 15:38:43 -05:00
Phxntxm 6007237f10 Added a da list command 2017-03-11 21:35:56 -06:00
Phxntxm 9311ac78a6 Use get in case a notification channel is not set 2017-03-11 21:35:48 -06:00
Phxntxm e3e1474d38 Add scores command 2017-03-10 21:05:49 -06:00
Phxntxm a61f79004e Added a detailed pages paginator 2017-03-10 21:05:42 -06:00
Phxntxm ca7967057d Remove adding a thumbnail because osu hides this behind a base64 encode, and discord handles the image downloading manually 2017-03-10 19:02:41 -06:00
Phxntxm 2a966124c3 Use nice formatting on the embed for osu 2017-03-10 18:40:26 -06:00
Phxntxm 7459ac1955 Correct a couple issues with osu 2017-03-10 18:16:29 -06:00
Phxntxm 45ab645e1a Correct a couple issues with osu 2017-03-10 18:15:23 -06:00
Phxntxm 78a46b2482 Correct a couple issues with osu 2017-03-10 18:11:21 -06:00
Phxntxm 9e86472b64 First implementation for the new osu for rewrite 2017-03-10 18:07:39 -06:00
Phxntxm 8699b0e303 Add the uptime check to the uptime command itself 2017-03-10 16:19:18 -06:00
Phxntxm 67d717cff7 Add a check to ensure uptime exists before adding it 2017-03-10 14:38:29 -06:00
Phxntxm c49bae11a8 Add a check to ensure the message is not deleted as we're waiting for a reaction 2017-03-10 14:25:37 -06:00
Phxntxm 00c8f2509f Trigger typing when looking up twitch/picarto API 2017-03-09 22:37:43 -06:00
Phxntxm 191a48ce9f Pretty print the title 2017-03-09 22:36:29 -06:00
Phxntxm 6a6ae6683d Don't include at all if there is no value 2017-03-09 22:35:22 -06:00
Phxntxm e5e1ef7638 Add a zero-width space if there is no value to use 2017-03-09 22:33:27 -06:00
Phxntxm 6928c13cfd Corrected the name of social links 2017-03-09 22:28:34 -06:00
Phxntxm d6b1b8bc49 Changed picarto to use embeds 2017-03-09 22:27:52 -06:00
Phxntxm 5c20112ff3 Correct issue where the api URL shadowed the picarto URL 2017-03-09 22:22:44 -06:00
Phxntxm 2b1d34707a Update to work with rewrite 2017-03-09 16:28:08 -06:00
phxntxm 606f9c1d27 Fix turning off notifications for twitch 2017-03-08 15:18:45 -06:00
phxntxm b93f104965 Change positional argument to kwarg 2017-03-08 15:13:54 -06:00
phxntxm 78352bea85 Update twitch to use an embed 2017-03-08 15:12:40 -06:00
phxntxm 9e057dbc07 Stopped searching for the one indexed list on get 2017-03-08 15:04:10 -06:00
phxntxm fd5d3f1538 Correct the key searching for twitch 2017-03-08 15:03:13 -06:00
phxntxm 993ad7ce43 Update to match rewrite 2017-03-08 14:59:05 -06:00
phxntxm fa8d03c6c2 removed the message sent, as we're now using typing 2017-03-08 14:50:29 -06:00
phxntxm 4e09b7a737 Correct int/str conversion 2017-03-08 14:04:16 -06:00
phxntxm 1a2a1f070c Correct int/str conversion 2017-03-08 13:43:15 -06:00
phxntxm 81b0500733 Fixed typo 2017-03-08 13:37:46 -06:00
phxntxm 17c853caae Update to work with rewrite 2017-03-08 13:36:11 -06:00
phxntxm d43c854584 Corrected an issue with changing the status/name 2017-03-08 13:25:52 -06:00
phxntxm 16aaf3f01b Fixed rules adding, fixed prune, caused purge to start before the command that triggered it 2017-03-08 02:44:27 -06:00
phxntxm 286af4e356 Looked at the right key... 2017-03-08 02:40:55 -06:00
phxntxm 1800c9ab5c Corrected how to get content from cache 2017-03-08 02:38:26 -06:00
phxntxm b0a6328b57 Corrected how to check if a command can have permissions setup on it 2017-03-08 02:33:18 -06:00
phxntxm 1d3ab2fb20 Updated manage_server to manage_guild 2017-03-08 02:28:57 -06:00
phxntxm a22cf3e414 Corrected some issues with the database 2017-03-08 02:26:50 -06:00
phxntxm ac23687696 Corrected what http client to retrieve 2017-03-08 02:22:26 -06:00
phxntxm 38268f4886 Added a possible exception 2017-03-08 02:19:47 -06:00
phxntxm d8a053eb67 Changed the converter to work with the rewrite 2017-03-08 02:18:28 -06:00
phxntxm 85e70c9a11 Removed unneeded clientsessions 2017-03-08 02:08:01 -06:00
phxntxm ffadb4a634 Removed key from parameters 2017-03-08 02:02:01 -06:00
phxntxm 6ed044c1cc Convert all comparisions to the db to string, as rethinkdb fails to parse ints as keys, or long ints in general 2017-03-08 01:55:22 -06:00
phxntxm 18e5648b41 Cast ID to a str 2017-03-08 01:29:05 -06:00
phxntxm e482f671d8 Stopped trying to pull from a one indexed list, as we no longer use that in key'd tables 2017-03-08 01:20:42 -06:00
phxntxm 17b9e0253b Stopped trying to pull from a one indexed list, as we no longer use that in key'd tables 2017-03-08 01:19:58 -06:00
phxntxm 061562b60d Convert to a string for id's when searching for command stats 2017-03-08 00:51:17 -06:00
phxntxm ca5bcbdc80 Set the content to the cursor if a key is given 2017-03-08 00:44:58 -06:00
phxntxm 58eb623a1a Stopped trying to pull from a one indexed list, as we no longer use that in key'd tables 2017-03-08 00:43:40 -06:00
phxntxm 7a3e7afe33 Don't convert if we're given a dict, aka using get 2017-03-08 00:32:55 -06:00
phxntxm 69a92431d8 Removed not required string conversions 2017-03-08 00:27:03 -06:00
phxntxm 1e2f44d494 Corrected a ctrl+f incorrect change 2017-03-08 00:23:16 -06:00
phxntxm bb08575b98 Added the rethink connection to run on 2017-03-08 00:22:32 -06:00