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

1645 commits

Author SHA1 Message Date
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
Phxntxm 31ed6b32fb Made get_all_commands available 2017-02-12 15:54:21 -06:00
Phxntxm a40ca62583 Corrected issue where the banner creation method wasn't found 2017-02-12 15:45:11 -06:00
Phxntxm 5561115449 Changed rules to use the paginator 2017-02-12 15:39:57 -06:00
Phxntxm 541e1a0ce7 Updated to use 10 results per page 2017-02-12 15:31:18 -06:00
Phxntxm 996f30b5b3 Used the paginator for the leaderboard 2017-02-12 15:30:50 -06:00
Phxntxm 2eed78fb15 Corrected misspelling 2017-02-11 17:20:55 -06:00
Phxntxm c1862d04e8 Corrected syntax error 2017-02-11 17:18:40 -06:00
Phxntxm baa8c74beb Used the paginator for the help commands 2017-02-11 17:14:57 -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 4b870fcc0d Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2017-02-08 21:49:09 -06:00
Phxntxm 6fffd46079 Added an exception for when the bot can't send messages 2017-02-06 21:56:52 -06:00
Phxntxm fae921995a Removed audio_tmp files upon startup of a music shard 2017-02-06 21:47:25 -06:00
Phxntxm 4e53b1f3a4 Changed the queue description to show information about the new queue reaction options 2017-02-06 21:10:06 -06:00
Phxntxm 3ac68a30a1 Added a to_embed method to return a generic embed showing information about the song 2017-02-06 21:09:41 -06:00
Phxntxm 71c32cb876 Changed queue and playing to use embeds 2017-02-06 20:56:04 -06:00
Phxntxm 2486f62640 Fixed issue where required skips was not being set when first starting a queue 2017-02-06 17:11:23 -06:00
Phxntxm 09c9e34dbb Remove audio files once the queue has ended 2017-02-06 16:34:06 -06:00
Phxntxm c02efe8c46 Updated avatar file names to use webp extension instead of jpg 2017-02-04 17:00:18 -06:00
Phxntxm 5e31979158 Added the ability to upload .gif avatars 2017-02-04 14:04:43 -06:00
Phxntxm 7459d79476 Corrected error where remnants of the last method weren't overwritten 2017-01-28 17:04:57 -06:00
Phxntxm 2048865b26 Made sure that we're in a server when checking for permissions 2017-01-28 14:15:08 -06:00
Phxntxm 2baf153ae3 Corrected error causing the help command to not work 2017-01-28 14:12:52 -06:00
phxntxm 34a9232009 Made sure to return if urbandictionary failed to connect 2017-01-25 13:24:16 -06:00
phxntxm abcd04e9ab Made sure to return after an error check 2017-01-24 14:45:34 -06:00
phxntxm fa82e5403a Added a check in case embeds/reactions can't be used for the help message, and sent the link to the rtd docs instead 2017-01-24 14:45:17 -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 f65edc18ce Use the url if downloading the avatar failed 2017-01-23 16:34:35 -06:00
Phxntxm 36fe2e865c stopped logging full responses for da 2017-01-23 16:34:04 -06:00
Phxntxm 5c9939ae29 Accepted reaction removes for the help command 2017-01-23 16:27:11 -06:00
Phxntxm 6f74bdac62 Allowed commands to work in the help command if no description exists 2017-01-23 14:28:11 -06:00
Phxntxm 9dd0c9d2f6 Used the user object instead of member, to alow use in PM 2017-01-21 20:35:20 -06:00
Phxntxm 241889b382 Corrected a couple errors with twitch/picarto/da 2017-01-21 17:22:52 -06:00
Phxntxm c294c29b3b Added a check for when purge tries to delte messages too far back 2017-01-21 16:58:23 -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 74c24c28d7 Updated da cog to use the utility request method 2017-01-21 15:48:41 -06:00
Phxntxm 5bd7a6dbf3 Corrected issue with a typo 2017-01-20 17:41:50 -06:00
Phxntxm 0620fee904 Setup the links cog to use the new request method from the utilities 2017-01-20 17:32:45 -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 ae406a736d Corrected an indentation error 2017-01-17 10:23:07 -06:00
phxntxm e62589e78c Setup an actual clientsession 2017-01-17 10:20:03 -06:00
phxntxm 07e34ddee3 Updated code to work with the new OW API 2017-01-17 09:38:26 -06:00
phxntxm 2c0b82967a Updated code to work with the new OW API 2017-01-17 09:35:22 -06:00
phxntxm 62972c6205 Updated code to work with the new OW API 2017-01-17 09:31:09 -06:00
phxntxm f31cafb323 Updated the version over the overwatch API I was using, as v2 is outdated 2017-01-17 09:16:33 -06:00
Phxntxm 442e398f1b Added a generic request method to the utilities 2017-01-08 14:05:37 -06:00
Phxntxm 0682ad8838 Used the new utils class instead of config 2017-01-08 14:03:22 -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 6ec9b70c55 Added a couple more error checks to music 2016-12-27 19:55:50 -06:00
phxntxm 0e51229ca9 Made sure when forcestop is used, it deletes the game entirely, since it's no longer needed. + Pep8 changes. 2016-12-24 21:16:02 -06:00
Phxntxm affe42d0c4 Added a couple more error checks, including downloading errors from youtube, no search result found....as well as deleting the last song played file 2016-12-23 10:34:30 -06:00
Phxntxm 61146d5f43 Corrected a couple issues with some variables 2016-12-22 14:57:32 -06:00
Phxntxm 673b66959a Added an exception checking for youtube providing a error that makes sense (i.e. Copyright videos) 2016-12-22 11:47:28 -06:00
Phxntxm 6bbfcc36b1 Stopped the context from being passed, since ctx is not needed for this command 2016-12-22 10:01:02 -06:00
phxntxm 9578221ba3 Removed a change that Pycharm automatically made 2016-12-22 00:58:53 -06:00
phxntxm 9b93974e0f Added a couple simple error checks to the new music 2016-12-22 00:56:25 -06:00
Phxntxm dcae38778a corrected issue where tuple was returned as the 'result' instead of taking that apart 2016-12-21 17:12:13 -06:00
Phxntxm 431490fa32 Complete overhaul of the music searching/downloading 2016-12-21 17:06:32 -06:00
Phxntxm 1391bc051a Corrected an issue where a TypeError Exception wasn't being caught 2016-12-21 10:36:51 -06:00
Phxntxm 2975d4268b Corrected issue where a server object was iterated through instead of the member list 2016-12-20 16:48:26 -06:00
Phxntxm 175004305f Corrected an issue where the command, and a string were being compared 2016-12-19 11:00:06 -06:00
Phxntxm ea6ae3dab4 Changed the comparison to the qualified name 2016-12-19 10:59:01 -06:00
Phxntxm 16e3ca9d9a Corrected syntax error 2016-12-19 10:53:25 -06:00
Phxntxm d28b52ec9c Corrected syntax error 2016-12-19 10:52:36 -06:00
Phxntxm 518671335a Added subcommands to the output of command specific commands 2016-12-19 10:52:00 -06:00
Phxntxm ae0a6d974d imported utilities for use in debug 2016-12-19 10:45:02 -06:00
Phxntxm 51b587b748 Same as last commit; for pages >.> 2016-12-19 10:42:23 -06:00
Phxntxm ec14a83c8c Moved setting cmd to make sure it can be used 2016-12-19 10:41:33 -06:00
Phxntxm 9ac58d6055 Added the ability to pull up a specific page on help (gg mobile Discord) 2016-12-19 10:31:45 -06:00
Phxntxm 9453499c62 Imported asyncio 2016-12-16 13:55:05 -06:00
Phxntxm 96744f0c11 Added the ability to force stop a running blackjack game 2016-12-16 11:02:55 -06:00
Phxntxm c1302aebe6 Added a check to remove any players not in the server anymore 2016-12-16 10:55:47 -06:00
Phxntxm 08b808b6f2 Added blackjack to the info command 2016-12-15 15:43:24 -06:00
Phxntxm 48be66568f Added a nickname changing command 2016-12-14 15:52:11 -06:00
Phxntxm 196ecc8e7d Added blackjack as a new module 2016-12-14 13:37:22 -06:00
Phxntxm 7f0fec170f Made sure that tags cannot be created that mention everyone 2016-12-12 09:52:04 -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 4e0533bb87 Added a file name to avatar so that discord embeds it 2016-12-09 21:38:12 -06:00
Phxntxm 821f33f5d1 Corrected how to wrap the BytesIO object 2016-12-09 21:34:17 -06:00
Phxntxm 6383b0bced removed an erroneous comma 2016-12-09 21:26:33 -06:00
Phxntxm e0f7260a70 Moved utility functions to the utility file 2016-12-09 21:25:08 -06:00
Phxntxm 532c0078eb removed some old, useless commands 2016-12-09 21:25:00 -06:00
Phxntxm c72aff607e Added a command to provide the avatar for someone 2016-12-09 21:24:51 -06:00
Phxntxm a456099944 Added shard id/count to the server info command 2016-12-08 21:11:05 -06:00
Phxntxm 8bfe396c07 Added shard id/count to the server info command 2016-12-08 21:10:05 -06:00
Phxntxm af30023d8d Sorted the command list alphabetically 2016-12-02 20:04:57 -06:00
phxntxm 17d8541bb8 Changed the order the reactions are added 2016-12-02 00:27:17 -06:00
phxntxm abb2e87514 Added the ability to change pages 2016-12-02 00:25:50 -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 e283a5160c Redesigned the embed for help 2016-12-01 22:24:54 -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 653a8acc6d Added new format to default help command 2016-12-01 21:58:28 -06:00
Phxntxm 669d82dd52 Allowed a message to be sent with boop 2016-12-01 19:28:13 -06:00