1
0
Fork 0
mirror of synced 2024-09-28 15:31:19 +12:00
Commit graph

1644 commits

Author SHA1 Message Date
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
phxntxm
88af06b58c Corrected issue (This used to work, rethinkdb wut r u doin?) causing new rules to fail to add 2016-11-29 02:35:27 -06:00
phxntxm
0bc7eb2dc0 Corrected the deafult setting for message 2016-11-29 02:16:10 -06:00
phxntxm
bf692e4c74 Pep8 changes 2016-11-29 02:05:22 -06:00
Phxntxm
354a482160 Added examples and results for all commands 2016-11-28 22:55:55 -06:00
Phxntxm
26f620839a Corrected issue with the data sent to the embed 2016-11-28 21:57:16 -06:00
Phxntxm
ffe9837064 Actually sent the embed now.... 2016-11-28 21:52:45 -06:00
Phxntxm
24ccb076db First attempt at reworking the help command 2016-11-28 21:51:18 -06:00
Phxntxm
350a8b517d Changed the order of the fields, due to the length of the uptime 2016-11-20 19:31:39 -06:00
Phxntxm
d8bbc3f1e3 Corrected the paramater passed to add_field 2016-11-20 19:28:59 -06:00
Phxntxm
8d57ce6c03 Corrected syntax error 2016-11-20 19:28:09 -06:00
Phxntxm
2b85dabb15 Changed the info command to use the new embed system 2016-11-20 19:27:34 -06:00
Phxntxm
766cd6f004 Corrected the check for the online status 2016-11-20 18:59:40 -06:00
Phxntxm
98d3f18b71 Corrected the url parameter, cast the region to a string 2016-11-20 18:56:16 -06:00
Phxntxm
4ad5dd3142 Added a server info command, using the new embed feature 2016-11-20 18:54:07 -06:00
Phxntxm
44d4f66ef5 Changed up the logging to make sure errors are recorded, along with information needed 2016-11-12 22:06:02 -06:00
Phxntxm
6e5a1f6d45 Added the log so that it can be used 2016-11-12 21:49:36 -06:00
Phxntxm
ca3dca00d9 Added the log so that it can be used 2016-11-12 21:49:02 -06:00
Phxntxm
4c1d29efba Logged response from DA, as it appears the second go around it errors out 2016-11-12 18:38:34 -06:00
Phxntxm
fcc3f8eb1b Corrected an issue where the wrong information was used for the channel ID 2016-11-12 18:35:38 -06:00
Phxntxm
4d6c21dd87 Imported traceback 2016-11-12 18:22:43 -06:00
Phxntxm
3bd12851b8 Logging possible exceptions 2016-11-12 18:10:36 -06:00
Phxntxm
0a7a997072 Lowered the cooldown on hangman 2016-11-10 22:49:16 -06:00
Phxntxm
38639662f5 Indented the description 2016-11-10 21:12:30 -06:00
Phxntxm
bde010dd6a Added a new cog for use to 'fake' the playlist cog 2016-11-10 21:03:31 -06:00
Phxntxm
8e19bd947a Added a help URL to be used with the help command 2016-11-10 21:03:05 -06:00
Phxntxm
1018f1c3fa Added a custom help command 2016-11-10 21:02:51 -06:00
phxntxm
baf209e963 Removed the clientsession, as this was disconnecting during the request 2016-11-01 15:41:37 -05:00
phxntxm
7b138c4683 Added the traceback to the log 2016-11-01 15:32:09 -05:00
phxntxm
3c6260277a Temporary logging the error for requests in links, as it's not working 2016-11-01 15:25:46 -05:00
phxntxm
642dd1f71c Implemented a retry ability when requesting HTTP data 2016-11-01 14:59:45 -05:00
phxntxm
876389bb67 Had the 'stats' command send the banner 2016-11-01 14:34:05 -05:00
phxntxm
0dfa1db8e8 Stopped allowing to start a game with yourself 2016-11-01 14:29:02 -05:00
Phxntxm
48f5a0c262 Removed erroneous loop, as it was no longer being used 2016-10-31 14:38:59 -05:00
Phxntxm
a0327cee61 git 2016-10-31 14:36:15 -05:00
phxntxm
5cd4ad7862 Moved events to their own cog 2016-10-30 23:32:33 -05:00
phxntxm
c4c3e03c39 Temporarily disabled music playing stats due to the load balance change; will require IPC to enable again 2016-10-30 23:29:11 -05:00
Phxntxm
280728721e Added extensions to the config file instead of by default 2016-10-30 22:14:30 -05:00
Phxntxm
b4e7f4adbe Corrected syntax error 2016-10-30 17:09:53 -05:00
Phxntxm
6ac47c3602 Corrected syntax error 2016-10-30 17:09:32 -05:00
Phxntxm
3967f3eb7d Corrected syntax error 2016-10-30 17:09:00 -05:00
Phxntxm
79e9e66d95 Changed image creation to use tuples, to allow order preservation 2016-10-30 16:54:58 -05:00
Phxntxm
5e1976dcb8 Ensured the joke found was not over the discord text limit 2016-10-30 13:45:41 -05:00
Phxntxm
fce156e93b Added a message in the beginning of looking up the Osu stats, as sometimes it takes a while to respond 2016-10-29 22:41:12 -05:00
Phxntxm
d16d7dcb4e Converted the difficulty to a float 2016-10-29 22:38:58 -05:00
Phxntxm
58f5d79bd4 Ensured the first result when searching a specifc beatmap 2016-10-29 22:38:00 -05:00
Phxntxm
8826ff768b corrected syntax error 2016-10-29 22:35:00 -05:00
Phxntxm
b71680b106 Added beatmap data to the scores command 2016-10-29 22:33:47 -05:00
Phxntxm
69b20cc55f corrected syntax error 2016-10-29 22:17:44 -05:00
Phxntxm
55df57fa74 corrected syntax error 2016-10-29 22:17:17 -05:00
Phxntxm
1951aaa665 Added a top beatmaps command to osu 2016-10-29 22:16:16 -05:00
Phxntxm
6445a8ae17 Added a check to make sure results were found 2016-10-29 16:39:37 -05:00
Phxntxm
7d5b51bb6e Added the progress and length to the message for the progress 2016-10-29 16:00:53 -05:00
Phxntxm
e318c27413 Corrected which property was called 2016-10-29 15:56:53 -05:00
Phxntxm
01acaa3e51 Added a check to remove unliked characters in the song name, i.e. []<> 2016-10-29 15:30:30 -05:00
Phxntxm
ebb4add7c9 Added the ability to get the current progress of a song 2016-10-29 15:23:12 -05:00
Phxntxm
47875dcb62 Changed the name of a couple keys 2016-10-29 15:22:55 -05:00
Phxntxm
52a979bc78 Passed the member instead of the user string 2016-10-28 22:34:50 -05:00
Phxntxm
6f3595f6de Got rid of extraneous ) 2016-10-28 22:25:47 -05:00
Phxntxm
def3bdb7bd Added an osu module 2016-10-28 22:16:25 -05:00
Phxntxm
5c9f2688e1 Added the osu key to the config 2016-10-28 22:16:01 -05:00
Phxntxm
981948c2d6 Ensured the dict's key and values were used 2016-10-28 22:15:48 -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
c9c60464d8 Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2016-10-28 18:52:43 -05:00
Phxntxm
706886a76c Removed embedding for some commands 2016-10-28 18:52:18 -05:00
phxntxm
62c6b7e987 Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2016-10-25 21:08:21 -05:00
phxntxm
8d7e31d564 Corrected the order for one of the battle outcomes 2016-10-25 21:08:09 -05:00
Phxntxm
5e17987d33 Added a check to ensure derpi provided the right information (couldn't connect 2016-10-24 20:52:50 -05:00
Phxntxm
d99cb69061 Added an error check to make sure that a description is provided (not sure why it's not sometimes) 2016-10-23 22:32:56 -05:00
Phxntxm
9b212bc0f9 Ensured en was a string 2016-10-23 22:20:55 -05:00
Phxntxm
e006133d9b Ensured searches pull english pages, and forced the language to english 2016-10-23 22:20:18 -05:00
Phxntxm
606a38dc92 imported the BeautifulSoup Module 2016-10-23 21:43:59 -05:00
Phxntxm
c74d246b31 Added the context to the google command 2016-10-23 21:43:23 -05:00
Phxntxm
d77299513b Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2016-10-23 21:41:36 -05:00
Phxntxm
733c2ac009 Corrected a couple errors in chess 2016-10-23 21:41:26 -05:00
Phxntxm
7ea93f871b Added a google search command 2016-10-23 21:41:19 -05:00
phxntxm
838a9c5607 Corrected how to look for the prefix 2016-10-17 12:51:02 -05:00
Phxntxm
475cbb4cb5 Used current prefix instead of the default one used 2016-10-16 20:56:39 -05:00
Phxntxm
9bd10dcb12 Corrected second whit bishop piece 2016-10-16 20:56:27 -05:00
Phxntxm
e0807de375 Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2016-10-16 19:58:27 -05:00
Phxntxm
2cbd766b43 Rounded out chess; just requiring the image creation for the board 2016-10-16 19:42:15 -05:00
Phxntxm
bfee72379b Fixed typo 2016-10-16 19:41:55 -05:00
phxntxm
17121f0d20 Added an exception, for if the files aren't found for the banner creation 2016-10-16 00:27:07 -05:00
Phxntxm
2d89a23bb5 First implementation of the chess cog (just the game so far) no command/server implementation 2016-10-15 22:58:02 -05:00
Phxntxm
6233eea599 Corrected a typo 2016-10-15 18:49:55 -05:00
Phxntxm
ee694b59fe Added one more check to joining a voice channel (man there sure are a lot of different errors that can happen with one voice connection call.....) 2016-10-15 14:46:12 -05:00
Phxntxm
1743920b43 Added another check to ensure the sides of the dice is higher than 1 2016-10-15 14:43:45 -05:00
Phxntxm
e02e9ae3ed Added an extra exception for when failing to connect to a channel 2016-10-14 19:49:20 -05:00
Phxntxm
96489aa850 Added an extra exception for when failing to move channels 2016-10-14 19:48:00 -05:00
Phxntxm
4a46b0d8c7 Ensured the raffles do not get checked if there are none 2016-10-13 22:26:54 -05:00
Phxntxm
8e227ea4a4 Added some more outcomes to the battling system 2016-10-13 21:09:02 -05:00
Phxntxm
9cd1734f0f Corrected the ID to use for the update when there is more than one raffle 2016-10-13 16:23:25 -05:00
Phxntxm
ed072994e6 Corrected how to enter a raffle if an ID is provided 2016-10-13 16:20:55 -05:00
phxntxm
977c569cae Corrected the checing for if a raffle expires 2016-10-12 23:47:24 -05:00
phxntxm
d56098025e Used the correct message sending procedure while not inside a command 2016-10-12 23:42:01 -05:00
phxntxm
acc03ef22f Added error logging to record while testing 2016-10-12 23:36:19 -05:00
phxntxm
c4ff668c2d Corrected where to update content 2016-10-12 21:32:59 -05:00
phxntxm
34f9cbba38 Corrected the minimum for minutes for creating a raffle 2016-10-12 21:31:36 -05:00
phxntxm
d96731019d Corrected where the asyncio loop was being called from 2016-10-12 21:23:01 -05:00
phxntxm
2590d5d354 Added a task to check raffles periodically 2016-10-12 21:12:48 -05:00
phxntxm
ea81bffe93 Corrected message when setting a new prefix 2016-10-12 16:54:30 -05:00
phxntxm
f05e7a0089 Changed up message when removing custom prefixes; stopped updating the cache for prefixes twice 2016-10-12 16:52:36 -05:00
phxntxm
bef4d48946 Corrected error where custom prefix cannot be removed 2016-10-12 16:49:52 -05:00
phxntxm
7dbebc8a44 Stripping the prefix to ensure no white space provided 2016-10-12 16:48:38 -05:00
Phxntxm
aedfcd9956 Added a couple extra error checks to urban dictionary lookup 2016-10-10 22:46:32 -05:00
Phxntxm
c5aad3a7e3 Changed list to string, as there's no reason to use a list here 2016-10-10 22:36:03 -05:00
Phxntxm
35ca3fcd2e Corrected issue where URL paramaters were being encoded incorrectly 2016-10-10 22:33:47 -05:00
Phxntxm
3193ba8add Added time zone to when the entry will end; added one to the Raffle 'ID' 2016-10-10 22:14:45 -05:00
Phxntxm
ae6cfe57ed corrected some of the phrases Bonfire used for raffles 2016-10-10 22:12:23 -05:00
Phxntxm
11c55d026c Corrected errors with the raffle creating 2016-10-10 22:08:42 -05:00
Phxntxm
2e0a0f823b Added a raffle class 2016-10-10 21:58:05 -05:00
Phxntxm
b413da5e96 Stopped from returning if no permissions provided 2016-10-09 21:48:38 -05:00
Phxntxm
0372ce5277 Allowed for no permissions, and only one to be provided when creating roles 2016-10-09 21:46:06 -05:00
Phxntxm
439c5ccdc7 Added a kick, and unban command 2016-10-09 17:19:20 -05:00
Phxntxm
5471f5d072 Corrected syntax error 2016-10-09 17:03:37 -05:00
Phxntxm
adf41cc7e6 Added a ban command, with the ability to preemptively ban someone 2016-10-09 16:56:47 -05:00
phxntxm
e529bb8804 Corrected all issues with the da RSS feed 2016-10-08 02:45:24 -05:00
phxntxm
0ab813f834 Removed losses from overwatch stats, as they're completely broken on blizzard's side 2016-10-08 01:20:43 -05:00
phxntxm
7e59c813ec Corrected syntax error 2016-10-08 00:11:10 -05:00
Phxntxm
b321ec5f6e Corrected syntax error 2016-10-07 21:45:06 -05:00
Phxntxm
fe4258e32f Added the ID's needed for DA 2016-10-07 21:45:00 -05:00
Phxntxm
90b93b6010 Added an extra check, in case user is subscribed to no one 2016-10-07 21:03:00 -05:00
Phxntxm
44d25dc140 Corrected how to check for a subscription already 2016-10-07 21:01:50 -05:00
Phxntxm
9cdbfda3ee Corrected how to remove a subscription 2016-10-07 20:58:52 -05:00
Phxntxm
ca9d3e1f06 Ensured rethinkdb is imported for use 2016-10-07 20:57:05 -05:00
Phxntxm
18c13862ad Corrected when to await for the post task 2016-10-07 20:54:46 -05:00
Phxntxm
e90b1630cd Cleaned up the tasks in order to check posts/get the token 2016-10-07 20:40:59 -05:00
Phxntxm
2b60d45dbf Corrected issue where a date and string were being compared 2016-10-07 20:34:05 -05:00
Phxntxm
964565c942 Used asyncio.sleep and create_task, since call_later cannot be used for coroutines 2016-10-07 18:05:39 -05:00
Phxntxm
7a5f26a6ff Added required setup function 2016-10-07 17:56:44 -05:00
Phxntxm
fe54231352 Corrected syntax error 2016-10-07 17:51:54 -05:00
Phxntxm
4e69e658b3 Corrected syntax error 2016-10-07 17:51:16 -05:00
Phxntxm
685dd0beb5 Corrected how to search for the latest motd 2016-10-07 16:29:03 -05:00
Phxntxm
574020fe5e How the fuck did that get there? 2016-10-07 16:21:11 -05:00
Phxntxm
f0d85d5796 Corrected last issues with the motd command 2016-10-07 15:52:43 -05:00
Phxntxm
078db24cad Made sure the format is not printed when no motd is found 2016-10-07 15:47:10 -05:00
Phxntxm
d16db79a79 Added the exception checking for when no date is provided 2016-10-07 15:46:11 -05:00
Phxntxm
f7d3d827ba Used the correct format for the default avatar image 2016-10-07 15:43:55 -05:00
Phxntxm
1e9bca6806 Corrected what type of error will be hit if there's no motd 2016-10-07 15:42:46 -05:00
Phxntxm
e872935708 Corrected syntax error 2016-10-07 15:40:29 -05:00
Phxntxm
6e57ffe4a3 Added a motd command 2016-10-07 15:39:41 -05:00
Phxntxm
93e386b36c Added a deviantart RSS feed functionality 2016-10-06 22:56:49 -05:00
Phxntxm
e00985c1c7 Corrected all cases of no_pm, to ensure all commands are set as they should. 2016-10-06 20:16:25 -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
5176ef3323 Corrected issue where coroutine wasn't being awaited 2016-10-05 13:46:00 -05:00
phxntxm
13251795a7 Corrected youtube searching command 2016-10-05 13:44:49 -05:00
phxntxm
d19b625f47 Imported config for use with debug command 2016-10-05 13:44:37 -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
Phxntxm
e42b5c0d7f Corrected the error where the tag replacing caused multiple tags to fail 2016-10-03 20:04:23 -05:00
Phxntxm
a167a034d1 Corrected a typo 2016-10-02 21:55:59 -05:00
MahxieNoodle
04fd87fef1 Blurry image fix.
Potential fix for blurry image.
2016-10-02 15:03:15 -07:00
phxntxm
02139a9c98 Remove the logging of searching twitch, as the issue has been corrected 2016-10-02 13:11:24 -05:00
phxntxm
11e12a7f1b Corrected error caused by the last merge; fixed pep8 issues 2016-10-02 13:08:20 -05:00
Phxntxm
e36223141a Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2016-10-01 22:59:58 -05:00
Phxntxm
a8f54e7a57 Added one more error to mean no image was found 2016-10-01 22:59:47 -05: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
429339a5eb Added a hug command 2016-10-01 21:51:04 -05:00
Phxntxm
93e76d25da Used random.choice instead of randint to get an index of a list based on a length 2016-10-01 21:15:09 -05:00
Phxntxm
c7f99e4f5e Used random.choice instead of randint to get an index of a list based on a length 2016-10-01 20:47:14 -05:00
Phxntxm
5c1773fddd Added the ability to check the current volume 2016-10-01 20:38:14 -05:00
Phxntxm
f4267ef84a Changed base height to help avoid black backgrounds showing up 2016-10-01 20:00:54 -05:00
Phxntxm
a8ee52048b Forgot to upload the banner after created, oops 2016-10-01 19:46:51 -05:00
Phxntxm
931b0f3cec Corrected syntax error 2016-10-01 19:42:34 -05:00
Phxntxm
3df0e49782 Added a few more statistics to use the new banner 2016-10-01 19:41:41 -05:00
Phxntxm
7c6346afd5 Removed my manual url encoding to let aiohttp handle it, as this caused it to be double-encoded 2016-10-01 16:55:13 -05:00
Phxntxm
b764ad802e Merge branch 'dev' 2016-10-01 15:47:32 -05:00
Phxntxm
a84f706464 Stopped using format for query paramaters 2016-10-01 15:29:53 -05:00
Phxntxm
5125e86d21 Checked for error where no permission was provided when trying to add a custom permissoin 2016-10-01 15:29:37 -05:00
phxntxm
a3d1c7ea63 Added an error check for an issue where e621 provides data that is not json encodable 2016-10-01 13:12:17 -05:00
phxntxm
a51ef0879a Added an error check if a server has no tags setup 2016-10-01 13:11:48 -05:00
phxntxm
653a8039f3 Used a default image if someone does not have an avatar 2016-10-01 13:11:34 -05:00
phxntxm
576a8a054b Corrected what to search for the filter 2016-09-30 12:25:50 -05:00
phxntxm
64fa6b3c3f Stopped the possiblity for filters to be passed to derpi 2016-09-29 22:27:08 -05:00
phxntxm
b62aa7f0b4 Used the corrected error when checking if a command has never been used 2016-09-29 12:36:43 -05:00
phxntxm
7276277b3c Corrected the get_content method; ensured server by default for the leaderboard 2016-09-29 12:33:54 -05:00
phxntxm
7e768d29fc Ensured the context was passed as well 2016-09-29 12:31:58 -05:00
phxntxm
3b81e502be Added the ability to check command usage stats 2016-09-29 12:29:57 -05:00
phxntxm
f5ff0e2ca3 Reenabled the battle command 2016-09-29 11:27:37 -05:00
phxntxm
f099ba31f1 Forgot to get just the index.... 2016-09-29 02:45:06 -05:00
phxntxm
0c448d775d Added the ability to get an image from any page from derpi; linked to the original image as well 2016-09-29 02:40:29 -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
8d58b4bb46 Removed an old comment 2016-09-28 21:40:33 -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
dcace0a240 Corrected what was passed to removing permissions 2016-09-28 21:31:53 -05:00
phxntxm
33f689eb5f Corrected which channel was added for alerts; corrected how to check if there are no rules on a server 2016-09-28 21:20:15 -05:00
phxntxm
fd21bf5f08 Corrected the filter so that not every single member was changed 2016-09-28 21:03:12 -05:00
phxntxm
891a661d83 Ensured only battletag was updated 2016-09-28 20:57:19 -05:00
phxntxm
e08d48f50c Corrected issue where member id wasn't added to picarto entry 2016-09-28 20:41:20 -05:00
phxntxm
7e350a8202 Corrected issue where member id wasn't added to twitch entry 2016-09-28 20:32:35 -05:00
phxntxm
bbcd6f5909 Removed conflict of member name 2016-09-28 20:20:46 -05:00
phxntxm
42610f2a92 Corrected how to check for battling stats 2016-09-28 20:19:45 -05:00
phxntxm
f591fd1835 Corrected some errors regarding stat printing 2016-09-28 20:00:41 -05:00
phxntxm
0ca396cc1f Corrected list comprehension to remove a poll from the list 2016-09-28 19:46:21 -05:00
phxntxm
d6dfa7e5c0 Corrected error where dictionary was saved, instead of a list of dictionaries 2016-09-28 19:43:50 -05:00
phxntxm
891b7f018a Corrected a few issues with strawpolls 2016-09-28 19:39:51 -05:00
phxntxm
fc3e947ea4 Corrected what value was checked on polls 2016-09-28 19:27:38 -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
8502c04acd Corrected error where list was being checked, instead of the entry in the list 2016-09-28 18:57:13 -05:00
phxntxm
26f32f9967 Update to saving method, using a much more robust method 2016-09-28 18:39:34 -05:00
Phxntxm
56be540d55 Started implementation of command usage stats 2016-09-25 22:58:33 -05:00
Phxntxm
c1bc48bc9e First implementation of new saving methods 2016-09-25 22:58:12 -05:00
phxntxm
e237a26ffb Ensured all keys are formatted nicely 2016-09-24 05:45:42 -05:00
phxntxm
ff2234640f Checked to see if we can send images, if so, use our new banner, if not stick to the old method 2016-09-24 01:31:20 -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
17c4437c3c Stopped printing stuff as testing has been completed 2016-09-24 00:54:30 -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
f611b37b11 Added a check to ensure e621 responded without an error 2016-09-22 22:45:26 -05:00
Phxntxm
f030504b6f Corrected who was searched on twitch lookups. I fixed this before...what happened...? 2016-09-22 20:53:05 -05:00
phxntxm
6c8b592d12 Rearranged the 'fails' for boops, to not cause an error when none is provided 2016-09-21 14:16:47 -05:00
phxntxm
911eb41459 Added the url to the logging method, based on twitch saying not client id is specified 2016-09-21 14:11:21 -05:00
phxntxm
e2001f9aba Adding a logging for twitch as I can't figure out why it's not working still 2016-09-21 14:09:31 -05:00
phxntxm
70beca85fd Added a message for when someone isn't provided to boop 2016-09-21 14:04:37 -05:00
phxntxm
99fad1d184 Changed client id to be sent as a get variable, as it's not working sending through the headers 2016-09-21 14:03:53 -05:00
phxntxm
2fef94db0f Removed usage of config.loop since bot.loop already exists 2016-09-20 17:22:02 -05:00
phxntxm
2850bdf4ae Implemented newly required client ID 2016-09-20 17:21:48 -05:00
phxntxm
fc921710cf Added a check for the invalid ipv6 error that youtube_dl throws 2016-09-19 13:19:15 -05:00
Phxntxm
1318fce81a Added a catch for when the bot's message has already been deleted 2016-09-18 16:13:41 -05:00
Phxntxm
5ebab3a077 Added a check in case a message is not found when trying to delete; added a check to ensure the provided permission is valid 2016-09-17 20:30:20 -05:00
phxntxm
26f29255da Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2016-09-14 19:10:50 -05:00
phxntxm
78ef45e0d8 Found the other case that discord fails to connect to a voice channel, hopefully all workarounds should be in place now 2016-09-14 19:10:44 -05:00
Phxntxm
15dedc5256 Added a zero-width space to tags to ensure they can't trigger other bot's commands 2016-09-12 15:34:31 -05:00
phxntxm
52ad367e0b Made sure that the id of the strawpoll is a string, not an int, when saving 2016-09-11 13:17:04 -05:00
phxntxm
374a0433aa Used the new cooldown reset method 2016-09-11 03:32:36 -05:00
phxntxm
f4291ab923 Used the new cooldown reset method; simplified boops 2016-09-11 03:30:23 -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
aedf8c4a4c Spelled tokens correctly 2016-09-07 05:32:57 -05:00
phxntxm
1a15c12c3e Added a cooldown reset on failed commands 2016-09-06 14:56:34 -05:00
Phxntxm
52eea3753b Made sure that the bot is in a channel in cases where the VoiceClient gets stuck 2016-09-05 21:52:14 -05:00
Phxntxm
8bd014a345 Added a check to make sure the server is found, as now that the bot is sharded we may not detect the correct server 2016-09-03 17:18:24 -05:00
Phxntxm
6de4800e54 Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2016-09-03 16:26:50 -05:00
Phxntxm
b0a8565096 Corrected how remove perms checked the command provided 2016-09-03 16:23:24 -05:00
phxntxm
04ccc6bdc1 Corrected how to save tags 2016-09-02 00:40:32 -05:00
phxntxm
0fe1868b4e Corrected instance checking on content 2016-09-01 00:32:15 -05:00
phxntxm
a61d1e7b21 Changed up the count for servers to not be amigious 2016-09-01 00:15:11 -05:00
phxntxm
712fee7eb2 Corrected error when bot_data was not found 2016-08-31 23:54:20 -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
b031b4d2f5 Corrected what to save on updating 2016-08-31 23:02:10 -05:00
phxntxm
9c1a4fab5c Awaited the coroutine 2016-08-31 23:01:45 -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
bf4041fa64 Made sure the full length of servers is sent to the bot sites 2016-08-31 22:23:58 -05:00
phxntxm
9181aff295 Changed up how starting a hangman game works; now chooses from a random phrase 2016-08-31 21:01:43 -05:00
phxntxm
d8b2fcb3a2 Added the ability to get server/member count across all shards 2016-08-31 19:07:38 -05:00
phxntxm
d0f81a3f1a Corrected tags as rethinkdb cannot save lists 2016-08-31 18:19:47 -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
c8bb26b2e2 Added statsupdate, as we're ready to merge to master 2016-08-31 14:48:07 -05:00
phxntxm
16aa8954cb Matched up all mismatched 'prefix' and 'prefixes' 2016-08-31 14:17:33 -05:00
phxntxm
181fbec47e Added missing awaits 2016-08-31 14:15:38 -05:00
phxntxm
0f21cf5155 Corrected what was checked in our prefix method 2016-08-31 14:13:09 -05:00
phxntxm
ce7151612e Added a custom prefix command 2016-08-31 14:10:33 -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
98d56f9b69 Stopped the player from resetting volume upon playing the next song 2016-08-31 11:58:59 -05:00
phxntxm
ffbd1ee431 Made sure that rules is always a list if invalid 2016-08-30 21:57:23 -05:00
phxntxm
d522726cc7 Corrected nsfw channels and rules 2016-08-30 21:54:32 -05:00
phxntxm
138021bd90 Changed nsfw and rules so that they can are dictionaries 2016-08-30 21:48:37 -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
phxntxm
5b8fc913b8 PEP8 changes 2016-08-30 17:33:46 -05:00
phxntxm
2643dc6d80 Changed saving method to rethinkdb instead of config file 2016-08-30 17:33:37 -05:00
phxntxm
162ef91379 Created a test command to test shard data 2016-08-30 15:23:12 -05:00
phxntxm
b9cb3bf603 Printing on status changes; as the 2nd bot seems to not connect 2016-08-30 14:51:04 -05:00
phxntxm
d35b990b26 Yaml was renamed? 2016-08-30 14:28:58 -05:00
phxntxm
43185dc031 Added sharding ability, first implementation of new saving method 2016-08-30 14:21:17 -05:00
phxntxm
2d78558cec Fuck you derpibooru, fix your search function 2016-08-30 02:19:28 -05:00
phxntxm
32e4d26559 Corrected the combination of explicit and suggestive to not break searches 2016-08-30 02:14:01 -05:00
phxntxm
97367a8873 Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2016-08-30 01:48:02 -05:00
phxntxm
9e1c0a2dee Forced safe tag for nsfw channel derpi lookups; added suggestive to nsfw channel lookups 2016-08-30 01:47:52 -05:00
Phxntxm
0214537e49 Correctected the indentation error 2016-08-28 16:41:32 -05:00
Phxntxm
0e785ef9b0 Changed up what permissions are required for role management 2016-08-28 15:00:34 -05:00
Phxntxm
402ddb061c Corrected what exception would be hit if custom_perms is not found 2016-08-28 14:40:34 -05:00
Phxntxm
04472c522e Added the ability to check default permissions 2016-08-28 14:39:28 -05:00
Phxntxm
ef1608b482 Added a silent exception for playing music and not having permissions to send messages, as this seems to happen commonly based on error logs 2016-08-27 22:32:11 -05:00
Phxntxm
ceddb2b7c8 Added a check in case the volume passed is higher than max 2016-08-27 22:26:23 -05:00
Phxntxm
e101ba3120 Added perms attribute in the custom_perms predicate 2016-08-27 22:00:43 -05:00
Phxntxm
5242dc613f Added an exception checking for odd cases where the VoiceClient gets stuck, while the bot is not in a voice channel 2016-08-27 17:18:37 -05:00
Phxntxm
3afe3c1db9 Added a check for purging/pruning to see if the bot has permissions to do so 2016-08-27 14:36:07 -05:00
Phxntxm
a16684a61c Added an exception for when strawpoll returns invalid data 2016-08-27 13:49:06 -05:00
Phxntxm
6fca8e7252 Changed up the order of modifying new hangman games, to avoid cases where a forbidden error leaves an invalid game 2016-08-26 20:30:06 -05:00
phxntxm
b082ce5f04 Removed the change Pycharm made for pep8 which caused the bot not to run, as the directoy was detected incorrectly 2016-08-26 08:23:02 -05:00
phxntxm
217407fbaa Removed the deleted status message after a minute 2016-08-26 00:12:54 -05:00
phxntxm
0173ff0924 Printed out the amount of messages removed when pruning 2016-08-25 23:56:16 -05:00
phxntxm
3b3974eb0b Added a prune command 2016-08-25 23:50:09 -05:00
phxntxm
b1a786ba70 Added a check in case we failed to create a hangman game 2016-08-25 23:36:35 -05:00
phxntxm
2af7f9ee66 Added exception handling if a user does not have any csgo stats 2016-08-25 23:28:39 -05:00
phxntxm
df8db00c08 Removed exception handling if voice was still none, it just caused a loop. I don't know how this error keeps happening 2016-08-24 14:55:09 -05:00
phxntxm
48c1f75bd0 Changed up what to do in the case voice gets stuck in a bad state 2016-08-23 19:21:56 -05:00
phxntxm
96c77a21db Added an exception check in case voice gets stuck, and the bot is already ina channel 2016-08-23 19:12:52 -05:00
phxntxm
7cbb788668 Added an error check for if there is no result, based on search terms 2016-08-22 23:57:59 -05:00
Phxntxm
171d57d259 Saved when adding a new battletag 2016-08-22 18:28:25 -05:00
Phxntxm
1e9dbba2ed Updated the audio task to silently fail if we don't have permission to send a message 2016-08-22 16:28:27 -05:00
Phxntxm
31391c8556 Changed up the order in case the bot does not have permissions to send a message 2016-08-22 15:09:00 -05:00
Phxntxm
48ccf886b5 Handled error when a the bot does not have permissions to delete a message 2016-08-21 20:52:27 -05:00
Phxntxm
20981729bd Added some aliases, corrected who was looked up for csgo stats 2016-08-21 20:13:39 -05:00
Phxntxm
b6a2f491ef Added a force stop command 2016-08-21 15:23:47 -05:00
Phxntxm
bf535f3cbc Corrected what was being searched in running 2016-08-21 15:15:41 -05:00
Phxntxm
09ad1a8b57 Renamed battles variable, as it caused a conflict 2016-08-21 15:12:13 -05:00
Phxntxm
38f4c578db Removed ctx, as it's not used 2016-08-21 15:11:18 -05:00
Phxntxm
161eade219 Added a command to see how many things, and what is running 2016-08-21 15:10:53 -05:00
Phxntxm
639c6ae58d Corrected what was sent via the timeout 2016-08-21 15:01:47 -05:00
Phxntxm
c6e057ad67 Changed up leaderboard to print just the first 10 2016-08-21 14:49:43 -05:00
Phxntxm
9c03d61439 Changed up leaderboard to print just the first 10 2016-08-21 14:49:24 -05:00
Phxntxm
57c8b0271a Corrected syntax error 2016-08-21 14:38:03 -05:00
Phxntxm
9898b1eff0 Changed up battling to stop saving content to the config file, as there's no need 2016-08-21 14:37:12 -05:00
phxntxm
803a764007 Added an extra error check for playing music, in case is_done does not exist 2016-08-21 02:18:35 -05:00
phxntxm
2f85aebee0 Removed checking player 2 on hangman, there is no player 2 2016-08-21 02:14:40 -05:00
phxntxm
0c622b8224 Changed name of url argument, as kwargs included url 2016-08-21 01:00:54 -05:00
phxntxm
e3dfb91041 Stopped downloading the youtube_dl url upon play command 2016-08-21 00:36:38 -05:00
Phxntxm
25adbf83f5 Stopped the bot from removing messages, as it bugs mobile apps when removed so quickly 2016-08-20 22:04:27 -05:00
Phxntxm
9cb1cd25b1 Added a check to ensure that the bot is not being challenged 2016-08-20 20:55:52 -05:00
Phxntxm
5da0830b5c Added a zero-width space to the say command, to avoid possible abuse by other bots 2016-08-20 18:54:51 -05:00
Phxntxm
1989c4bb0e Added an exception check for timing out 2016-08-20 16:56:20 -05:00
phxntxm
c7be4bb7b2 Corrected error where an extra attempt to remove a rule was done 2016-08-20 11:48:02 -05:00
phxntxm
9f4a0400e5 Changed up the settings for checking if a user is on picarto 2016-08-20 00:34:17 -05:00
phxntxm
ca575cedab Corrected error where server_alerts was not saved 2016-08-20 00:28:17 -05:00
phxntxm
880fa0e17b Corrected issue when no option is provided 2016-08-20 00:13:13 -05:00
phxntxm
92ca0831e0 Finished implemenation of modular amount of required skips 2016-08-19 23:25:17 -05:00
Phxntxm
5c6b36d645 Started implementation of modular required skip amount 2016-08-19 23:00:23 -05:00
Phxntxm
baa6d5899f Removed converting puncation to blanks 2016-08-19 22:27:48 -05:00
Phxntxm
2c55799379 Added an exception in case no option was passed 2016-08-19 18:55:51 -05:00
Phxntxm
e8e33c46f0 Added a check for if a close match to the provided game is not found 2016-08-19 18:52:38 -05:00
Phxntxm
e64e47c640 Added a check to see if the bot's steam info was being looked up 2016-08-19 18:44:18 -05:00
Phxntxm
6c3fa02134 corrected which group to get in the regex search 2016-08-19 18:36:47 -05:00
Phxntxm
804bc3ad8b Corrected syntax error 2016-08-19 18:33:30 -05:00
Phxntxm
846b29c1f3 Corrected some error checking on lookups 2016-08-19 18:32:24 -05:00
Phxntxm
4ce7340600 Corrected what was being sent to the get_app_id method 2016-08-19 18:11:53 -05:00
Phxntxm
305d18ba64 Corrected what's printing in the game slot 2016-08-19 18:09:50 -05:00
Phxntxm
d9823485ef Corrected syntax error 2016-08-19 18:08:28 -05:00
Phxntxm
70a8682a11 Corrected syntax error 2016-08-19 18:05:25 -05:00
Phxntxm
d70f9d5a76 Corrected syntax error 2016-08-19 18:03:54 -05:00
Phxntxm
d0f7d8d784 Corrected syntax error 2016-08-19 18:02:46 -05:00
Phxntxm
5a55d346d4 Corrected syntax error 2016-08-19 18:02:12 -05:00
Phxntxm
4286e9da26 Corrected syntax error 2016-08-19 18:01:22 -05:00
Phxntxm
c4127f2911 Added the ability to search achievements/info on a user 2016-08-19 18:00:16 -05:00
Phxntxm
0cb6fc07be Changed where to pull display names from 2016-08-19 17:19:21 -05:00
Phxntxm
e9bc5aaab7 Corrected what the member was called 2016-08-19 14:46:52 -05:00
Phxntxm
cf06356482 Added the ability to save a steam account per user 2016-08-19 14:45:48 -05:00
phxntxm
938337688b Cleaned up first setup of csgo stats 2016-08-19 02:02:40 -05:00
phxntxm
9fda303ab1 Corrected error where .json() wasn't being awaited) 2016-08-19 02:00:50 -05:00
phxntxm
04e08ec177 Corrected error where .text() wasn't being awaited) 2016-08-19 01:59:33 -05:00
phxntxm
9fda5f3bad Sent headers with the requests 2016-08-19 01:52:59 -05:00
phxntxm
942bd67c2c Added required setup function 2016-08-19 01:50:00 -05:00
phxntxm
43aa1042a4 Created initial steam cog 2016-08-19 01:48:38 -05:00
phxntxm
88426b824e Created initial steam cog 2016-08-19 01:48:15 -05:00
phxntxm
4a436bb3ba Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2016-08-19 01:13:15 -05:00
phxntxm
cfac889db8 Corrected issue with the update records, if no entry yet 2016-08-19 01:13:03 -05:00
Phxntxm
d6ecec0d5b Adding a test command to test mini-data classes 2016-08-18 22:50:54 -05:00
Phxntxm
2c694dbeb9 Adding a test command to test mini-data classes 2016-08-18 22:50:32 -05:00
Phxntxm
d6470a19e8 Adding a test command to test mini-data classes 2016-08-18 22:50:11 -05:00
Phxntxm
74f5fe0ec0 Adding a test command to test mini-data classes 2016-08-18 22:49:17 -05:00
Phxntxm
2a20635536 Adding a test command to test mini-data classes 2016-08-18 22:48:50 -05:00
Phxntxm
8f7a3e58cd Added support for carbonitex posting 2016-08-18 20:56:41 -05:00
Phxntxm
c4983c10fc Added comments, changed up the server setting so that multiple servers can be notified 2016-08-18 15:55:04 -05:00
phxntxm
86018bc24d Removed attempt to get .items() of a tuple) 2016-08-18 12:52:25 -05:00
phxntxm
8f3f3ca58d Sorted the list of booped members 2016-08-18 12:49:45 -05:00
phxntxm
8a1a7900a7 Corrected error if a member was provided but not mentioned 2016-08-18 12:44:40 -05:00
phxntxm
71c0d499c6 Corrected issue with wiki searching, that caused wrong articles to be pulled 2016-08-17 16:28:45 -05:00
phxntxm
8919b1210c Changed directory before importing config file, to stop it from erroring out when looking for required files 2016-08-17 15:46:20 -05:00
phxntxm
556022abbc Changed up safe restart command, to actually work 2016-08-16 21:19:44 -05:00
phxntxm
3a7461180c Added some comments, corrected error where tags were not saved 2016-08-16 19:45:01 -05:00
phxntxm
7735bbc081 CHanged the hangman usage to check lower, to make cases not sensitive 2016-08-16 10:30:04 -05:00
phxntxm
c8730a3b6f Corrected some syntax/pep8 errors 2016-08-16 10:22:32 -05:00
phxntxm
8239d66524 Corrected syntax errors 2016-08-16 06:12:36 -05:00
Phxntxm
f26e04b1a4 Mass update: Added comments to most of the project. A couple small tweaks made as well 2016-08-15 22:30:52 -05:00
Phxntxm
d334c5584d Removed comment for restarting 2016-08-15 16:16:01 -05:00
Phxntxm
2fb38350da Added a saferestart command, temporarily commenting out the part that actually restarts, for testing 2016-08-15 16:15:27 -05:00
Phxntxm
050e668450 Changed up formatting a bit 2016-08-15 15:46:08 -05:00
Phxntxm
99cd485f5b Changed the formatting so that the url can be clicked 2016-08-15 15:45:29 -05:00
Phxntxm
a8102cd9f8 Changed the formatting so that the url can be clicked 2016-08-15 15:45:02 -05:00
Phxntxm
121e13e623 Corrected what was checked for the length of the search 2016-08-15 15:44:13 -05:00
Phxntxm
934ccb6d86 Added a wikipedia command 2016-08-15 15:43:18 -05:00
Phxntxm
37dbacf3fe Mass update: removed all cases LikeThis and replaced them like_this (This for you Fuyu) 2016-08-14 21:10:12 -05:00
Phxntxm
d89c793343 Corrected how guessing word was handled, added an exception in case a letter is guessed twice 2016-08-14 19:00:01 -05:00
Phxntxm
3faee2022e Corrected issue where if the method existed was being checked, instead of calling it 2016-08-14 18:49:15 -05:00
Phxntxm
b7fa339ffa Corrected issue where if the method existed was being checked, instead of calling it 2016-08-14 18:48:17 -05:00