1
0
Fork 0
mirror of synced 2024-07-03 05:31:14 +12:00
Commit graph

1183 commits

Author SHA1 Message Date
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