1
0
Fork 0
mirror of synced 2024-06-28 19:20:34 +12:00
Commit graph

1645 commits

Author SHA1 Message Date
Phxntxm bfa859ac1e Add a check for nsfw channels, assume this channel is...nsfw 2017-05-07 21:50:28 -05:00
Phxntxm 75b0d2705f Convert error to string 2017-05-07 21:23:56 -05:00
Phxntxm 9fda74775c Syntax error 2017-05-07 21:22:14 -05:00
Phxntxm d61f2fa472 Get rid of youtube-dl's stupid colour formatting 2017-05-07 21:21:46 -05:00
Phxntxm 80c90f8d80 Use the right song when showing which one failed to download 2017-05-07 21:18:19 -05:00
Phxntxm 8f9e514260 Change entry to print an embed instead of a message 2017-05-07 21:16:51 -05:00
Phxntxm 1e451942be Print the song playing 2017-05-07 21:11:05 -05:00
Phxntxm 4cb478eb8e Send ctx instead of requester 2017-05-07 21:07:24 -05:00
Phxntxm 4ebfcf6613 Catch when videos fail to download 2017-05-07 21:05:37 -05:00
Phxntxm 064e182dde Don't add commands users can't run 2017-05-07 20:42:42 -05:00
Phxntxm e282e1e073 Remove vdebug command 2017-05-07 20:39:42 -05:00
Phxntxm 60b1510c5c Add guild to the environment variables 2017-05-07 20:39:34 -05:00
Phxntxm 5451395e0a Add an exception for some oddly formatted searches that trigger socket.gaierror 2017-05-07 20:38:24 -05:00
phxntxm 92514b6987 Merge branch 'rewrite' of https://github.com/Phxntxm/Bonfire into rewrite 2017-05-06 00:09:50 -05:00
phxntxm 97f1da001b Correct declining battle 2017-05-05 23:59:16 -05:00
phxntxm 24a7a64b07 Change how to check for pause/resume errors 2017-05-05 23:58:05 -05:00
Phxntxm 77848aef01 Add a full messagee 2017-05-05 15:58:17 -05:00
Phxntxm 0c30aca9d9 Add a check for if value has been provided 2017-05-05 15:55:29 -05:00
Phxntxm 005ac4179b Correct type for channel ID 2017-05-05 15:55:18 -05:00
Phxntxm 1d859e0995 Add a command to send a message to a particular channel 2017-05-05 15:53:12 -05:00
Phxntxm cbd522991a Rework volume to have a default volume set for every song that plays 2017-05-04 17:33:26 -05:00
Phxntxm bd7b5a5ca5 Add songs playing to info embed 2017-05-04 17:33:10 -05:00
Phxntxm 6dcaf2ef99 Remove erroneous comment 2017-05-04 17:33:01 -05:00
phxntxm bfb744bb29 remove erroneous alias 2017-05-04 02:44:51 -05:00
phxntxm 483698ea29 Renaming of assigning commands to make it more clear which does which 2017-05-04 02:44:10 -05:00
phxntxm a793378093 Correct naming of command 2017-05-04 02:34:33 -05:00
phxntxm aa610bd1d8 Add the ability to remove and list self-assignable roles 2017-05-04 02:33:24 -05:00
phxntxm 00b49f7445 Correct requirements for assign me 2017-05-04 01:30:07 -05:00
phxntxm 67dd73c0af Add a message for when connections timeout 2017-05-03 20:12:13 -05:00
phxntxm 7658241913 Add error messages when picarto URL is not saved 2017-05-03 15:31:28 -05:00
phxntxm e4ef3c075b Use better jokes 2017-05-02 19:29:14 -05:00
phxntxm 84746e23bb Correct how to get the font files 2017-05-02 19:19:28 -05:00
phxntxm 38cc78c09e Correct the element passed 2017-05-02 15:15:30 -05:00
phxntxm 85d1cdbe2d Move fonts used to a fonts folder in the repository 2017-05-02 14:38:32 -05:00
Phxntxm ab5d73a742 Move the valid_perms list to the correct cog 2017-05-01 18:31:33 -05:00
Phxntxm 3754fbc565 Put a newline in before the tictactoe board 2017-05-01 17:45:22 -05:00
Phxntxm 6aab8267f9 Correct how to get guild from a player provided 2017-05-01 16:01:53 -05:00
Phxntxm c295265e0b Correct how to get player1 2017-05-01 15:58:58 -05:00
Phxntxm 89129a5d88 Correct how to get player's battles in accept and decline 2017-05-01 15:57:32 -05:00
Phxntxm baa16d6e18 Remove erroneous variable 2017-05-01 15:49:26 -05:00
Phxntxm d7f3307e62 Correct how to get the guild 2017-05-01 15:48:29 -05:00
Phxntxm 86a8d57666 Correct syntax error 2017-05-01 15:46:59 -05:00
Phxntxm 43b32badc4 Correct syntax error 2017-05-01 15:46:36 -05:00
Phxntxm 0d66448338 Reformat battling, to allow more than one to be done at once 2017-05-01 15:45:56 -05:00
Phxntxm d516551de6 Import rethinkdb module 2017-05-01 14:07:39 -05:00
Phxntxm a12a18db14 Import glob 2017-04-30 19:16:42 -05:00
Phxntxm e574e2d532 Use the bot's clientuser's avatar url to not cause issues in PM 2017-04-30 19:05:11 -05:00
Phxntxm cc6c867306 Correct class to call in setup 2017-04-30 18:58:14 -05:00
Phxntxm 863903c765 Add missing init 2017-04-30 18:57:36 -05:00
Phxntxm 5aa87ce653 Reordering of commands to be grouped better 2017-04-30 18:56:02 -05:00
phxntxm 32f195b2f1 Add a check to ensure the source exists 2017-04-26 05:00:43 -05:00
Phxntxm 71772a4e19 Add a check for if the voice channel is None 2017-04-24 16:21:17 -05:00
Phxntxm ca8c3625a4 Send files with a filename 2017-04-24 14:25:05 -05:00
Phxntxm 6704af7508 Update images to use file-like objects to not take up disk space 2017-04-24 14:24:58 -05:00
Phxntxm e7133bc25f Correct volume implementation 2017-04-23 19:09:49 -05:00
Phxntxm ead82dc4aa Handle playing when voice is None 2017-04-23 17:28:13 -05:00
Phxntxm 90598f26bf Handle if the channel returned is None 2017-04-23 15:25:42 -05:00
Phxntxm 99ac6fdd6c Correct when the source is retrieved 2017-04-22 22:12:48 -05:00
Phxntxm 96e17e9cb6 Import required Exception 2017-04-22 22:09:03 -05:00
Phxntxm a30dae0735 Have the playlist handle searching for songs 2017-04-22 22:07:54 -05:00
Phxntxm c821adf87a Have the playlist handle searching for songs 2017-04-22 22:06:45 -05:00
Phxntxm 7e1ca280de Move the LiveStreamError to the exceptions module 2017-04-22 21:45:36 -05:00
Phxntxm 543c82a5c4 Merge branch 'rewrite' of https://github.com/Phxntxm/Bonfire into rewrite 2017-04-22 17:54:36 -05:00
Phxntxm ccee1dc046 Handle when live streams are attempted to be downloaded 2017-04-22 17:54:23 -05:00
phxntxm 43de52fae7 Change a few cases where voice of a state is still none 2017-04-22 00:29:58 -05:00
Phxntxm 6be0c4c93d Import regex module 2017-04-21 14:45:20 -05:00
Phxntxm 50cca0c7ff Add cpu/memory usage to info command 2017-04-20 22:04:48 -05:00
Phxntxm 6199d867dc Add cpu/memory usage to info command 2017-04-20 22:03:52 -05:00
Phxntxm 62c9c764d6 remove certain symbols that break song lookups 2017-04-20 19:13:57 -05:00
Phxntxm cc470c86db Handle if no there are no server settings 2017-04-20 18:41:35 -05:00
Phxntxm c34532cf09 Correct variable reference 2017-04-20 17:44:21 -05:00
Phxntxm 5d487a7f78 Add a check when creating a tag, to ensure that it doesn't already exist 2017-04-20 17:42:52 -05:00
Phxntxm 694c848517 Changed the orders of the errors for logical preference 2017-04-20 17:28:14 -05:00
phxntxm 34fae41208 Check if we're playing something when setting the volume 2017-04-19 22:45:11 -05:00
phxntxm 40b4977a32 Check if we're already connected to a channel 2017-04-19 22:43:24 -05:00
phxntxm cf4fc12831 Fix tabbing issue 2017-04-19 22:35:06 -05:00
phxntxm 173baaba14 Check for permissions when connecting 2017-04-19 22:32:18 -05:00
phxntxm e011b56873 PEP8 2017-04-19 22:18:26 -05:00
phxntxm 92f62c6ce8 Add a zws in order to not tag other commands 2017-04-19 22:18:20 -05:00
phxntxm b59b57f716 Finish music implementation on rewrite 2017-04-19 22:18:05 -05:00
Phxntxm 60f2b0e2e5 Add a pluck method 2017-04-16 22:49:35 -05:00
Phxntxm d485f64f25 Allow PM's to not be ignored 2017-04-16 20:58:20 -05:00
Phxntxm 7f48f11586 Add a sorted method 2017-04-16 20:58:11 -05:00
Phxntxm 53f9183ab6 Correct what is attempted to be converted to limit 2017-04-16 18:03:32 -05:00
Phxntxm 5ac2d6f8ce Correct syntax error 2017-04-16 17:58:05 -05:00
Phxntxm bfd3f75836 Intuitively handle limit 2017-04-16 17:52:38 -05:00
Phxntxm a21fcdeec5 Update avatar to send as png to support transparancy 2017-04-16 17:43:29 -05:00
Phxntxm ba24b24933 Add server to globals for convenience 2017-04-13 21:55:57 -05:00
Phxntxm 58b8a0d125 Merge branch 'rewrite' of https://github.com/Phxntxm/Bonfire into rewrite 2017-04-13 18:42:36 -05:00
Phxntxm 46e28b81a1 Update to check if a message should be ignored 2017-04-13 18:30:14 -05:00
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
phxntxm 365501bef2 Added a possible exception to catch 2017-03-08 00:21:11 -06:00
phxntxm c6d6661204 Added a possible exception to catch 2017-03-08 00:20:23 -06:00
phxntxm 78187197b3 Added a possible exception to catch 2017-03-08 00:19:42 -06:00
phxntxm f91e992d25 Corrected the commenting method to python (stupid php....) 2017-03-08 00:16:11 -06:00
phxntxm 4018db2dac Added a battle outcome 2017-03-08 00:15:52 -06:00
phxntxm 67d8fedef8 Updated for rewrite: Batch 6 2017-03-07 22:28:30 -06:00
phxntxm 2b9d8a2dca Update for rewrite: Batch 5 2017-03-07 17:56:24 -06:00
phxntxm d82127fa38 Update for rewrite: Batch 4 2017-03-07 17:47:00 -06:00
phxntxm 2852576250 Corrected the event to wait for 2017-03-07 17:32:40 -06:00
phxntxm d9c654f73d Check if the returned content is none first 2017-03-07 17:32:33 -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 8e89847ed2 Corrected how to handle failed int conversion 2017-03-06 16:15:48 -06:00
Phxntxm 087e9d186d Corrected syntax error 2017-03-06 16:13:22 -06:00
Phxntxm a2783fefed Handle if an invalid limit is passed to prune 2017-03-06 16:11:49 -06:00
Phxntxm 8aa9c5d5b9 Add the ability to prune from roles 2017-03-06 16:09:41 -06:00
Phxntxm ccaaa8b04a Don't count the message that triggered the prune command 2017-03-06 16:08:55 -06:00
Phxntxm 0757844905 Corrected syntax error 2017-03-05 20:51:50 -06:00
Phxntxm 4f3c05486a Corrected syntax error 2017-03-05 20:50:51 -06:00
Phxntxm 5f00739f5f Added total to dice rolls with more than 1 die 2017-03-05 20:49:56 -06:00
Phxntxm 23e69a01c6 Update to work with the rewrite: Batch 1 2017-03-05 20:45:44 -06:00
Phxntxm 9d15cc0bc8 Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2017-03-05 14:16:36 -06:00
phxntxm 650f1fa839 Catch exception when the result of debug is too long 2017-03-04 01:51:30 -06:00
phxntxm 84baef2125 Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2017-03-04 01:48:54 -06:00
phxntxm 11cb4cbf99 Pep8 change 2017-03-04 01:48:47 -06:00
Phxntxm 9721bbddaf Allowed soundcloud to be downloaded again, as it is now working once more 2017-03-03 14:43:35 -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
ddlr b795c4e56f Add a likely reason to music timeout message 2017-03-01 23:23:56 +13:00
Phxntxm 3050e4da4f Imported inspect so the voice debug command can be used 2017-02-27 19:02:18 -06:00
Phxntxm 901870d4bf Don't let a player who hasn't bet play 2017-02-27 18:07:23 -06:00
Phxntxm d4c4c9e65a Made the deck 2 decks 2017-02-27 17:49:37 -06:00
Phxntxm 51fb8fb4cc Catch when DA doesn't return any results for an artist 2017-02-27 17:25:33 -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 42932db8a6 Sent a message when succesfully adding a server to be notified 2017-02-19 15:32:21 -06:00
Phxntxm 3a453e592b Another find+replace error fixed 2017-02-19 15:12:13 -06:00
Phxntxm d9976dfd87 Added a debug command for the voice shards 2017-02-17 22:14:38 -06:00
Phxntxm f8cb681480 Added the lol_key to the config file 2017-02-17 22:11:47 -06:00
Phxntxm dd3194c314 Added an additional step, to ensure a state's entries are cleared even if it doesn't exist. Lol just that comment shows how shitty discord's voice is. 2017-02-17 22:11:19 -06:00
Phxntxm 2e4f006f5f Corrected issue where having no server alerts set broke the loop 2017-02-17 18:07:50 -06:00
Phxntxm 2d3e5d680c Corrected issue where providing a page with help didn't change the page 2017-02-17 18:00:34 -06:00
Phxntxm 7b4ef527d1 Added the ability to change which page to start on 2017-02-17 18:00:13 -06:00
Phxntxm 342cd04db8 Updated debug to use environment variables, and not require any code blocks 2017-02-17 13:52:25 -06:00
Phxntxm dd0cced626 Corrected issue where a difference in imported packages caused a method to not be found 2017-02-17 13:48:45 -06:00
phxntxm bfe4b85dc2 Corrected issue where a find and replace replaced something unintional 2017-02-13 02:06:56 -06:00
phxntxm e3826ce3aa Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2017-02-13 02:01:50 -06:00
Phxntxm edf9d9a587 Used the jpeg conversion method, since some browsers do not have webp compatibility 2017-02-12 20:33:57 -06:00
Phxntxm a124eaf89a Added a method to convert images to jpeg 2017-02-12 20:33:24 -06:00
Phxntxm 91ff56f621 Fixed botched find+replace 2017-02-12 20:25:56 -06:00
Phxntxm 599d8feb3a How the hell did that get in there? 2017-02-12 20:22:37 -06:00
Phxntxm e45f787077 Catch exception when we cannot paginate 2017-02-12 17:58:27 -06:00
Phxntxm 04c07fc08c Use the full utils package instead of importing each individually 2017-02-12 17:45:19 -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 275f2fad72 Added a couple more checks to voice, to catch when Discord says the connection was successful, yet it wasn't 2017-02-12 16:40:11 -06:00
Phxntxm 59c48b323e Added a couple more checks to voice, to catch when Discord says the connection was successful, yet it wasn't 2017-02-12 16:31:18 -06:00
Phxntxm 540ecf86fb Added a check to ensure the data is not None. This shouldn't happen that often yet it seems to do so, why is your API so shitty DA? 2017-02-12 16:09:41 -06:00
Phxntxm c560bc4210 Added a check to ensure someone who joins after betting doesn't get checked to see if they won or not 2017-02-12 16:05:51 -06:00
Phxntxm e90bab4a84 Made get_all_commands available 2017-02-12 15:55:49 -06:00