1
0
Fork 0
mirror of synced 2024-06-08 21:54:31 +12:00
Commit graph

1858 commits

Author SHA1 Message Date
phxntxm ad735fdc42 Added newlines to the stats for readability 2016-07-13 22:17:26 -05:00
phxntxm 312b2a1b5a Passed the context to the ow command 2016-07-13 22:16:47 -05:00
phxntxm aaa1b8e6ae Added overwatch lookup on users 2016-07-13 22:15:55 -05:00
phxntxm 946b61b926 Replaced the misplaces $ with a % 2016-07-13 21:50:38 -05:00
phxntxm 9eebb9361d The lookup for the profile info takes a while, sent a message before it starts 2016-07-13 21:44:18 -05:00
phxntxm 7a6861c4c5 Changed method name, was interfering with add 2016-07-13 21:27:10 -05:00
phxntxm 33ec7bbb30 Added saving of battletags; prepping for overwatch support 2016-07-13 21:24:41 -05:00
phxntxm 4c52d52dae Added courutine functionality for live debugging 2016-07-13 09:27:23 -05:00
phxntxm 42a3f3f829 Added courutine functionality for live debugging 2016-07-12 23:30:22 -05:00
phxntxm 9e129fc991 Added ' around the tag when printing it 2016-07-12 11:55:18 -05:00
phxntxm 647fd5b151 Missing a } for formatting, added that 2016-07-12 11:51:53 -05:00
phxntxm e5aefae323 Added functionality to remove tags for mutlipe words 2016-07-12 11:48:47 -05:00
phxntxm 19aa9be82a Removed testing, github stopped calling my webhook for no reasong, that's why I couldn't figure this issue out lol 2016-07-12 11:46:33 -05:00
phxntxm 4454c07d58 Testing the tag, more than word seems to be breaking 2016-07-12 11:40:34 -05:00
phxntxm a7430a9dbd stripped tag of whitespace off the ends 2016-07-12 11:30:47 -05:00
phxntxm 026e4ed4ae Changed tag to search for tags with more than one word 2016-07-12 11:28:35 -05:00
phxntxm 558612f6f7 Added descriptions to the tags 2016-07-12 11:03:35 -05:00
phxntxm b286a59683 How did that get there 2016-07-12 10:58:57 -05:00
phxntxm 280544b734 Made the last change on tag as well 2016-07-12 10:58:25 -05:00
phxntxm d3a20edcf3 Changed back to the normal format for selecting the database 2016-07-12 10:56:55 -05:00
phxntxm 42fc65c789 Changed ' to triple " 2016-07-12 10:53:13 -05:00
phxntxm 00d92d30cb Changed second paramater to a tuple 2016-07-12 10:50:51 -05:00
phxntxm f86880d634 Fixed a couple errors 2016-07-12 10:48:34 -05:00
phxntxm 460524d23b Added a 'tag' command to create custom tags 2016-07-12 10:47:41 -05:00
phxntxm b61e6aacc7 Moved checkchannels to be a class of Twitch, this should make accessing bot more relaible 2016-07-12 09:44:17 -05:00
phxntxm b35aed381b Testing how pass_context works with subcommands 2016-07-12 09:19:43 -05:00
phxntxm d8ca2de783 Used commands.has_permissions for a couple of my old predicates 2016-07-12 09:17:47 -05:00
Phxntxm 9a516b0628 Added exception if the person hasn't booped anyone 2016-07-11 14:27:53 -05:00
Phxntxm 0323678d67 Added exception to handle if 'd' is passed as the only valid part of the regex parsing 2016-07-11 13:18:57 -05:00
Phxntxm 7d85fc1f55 Added exception to handle if 'd' is passed as the only valid part of the regex parsing 2016-07-11 13:16:18 -05:00
Phxntxm 209631a2dd Printed the amount of sides of the die 2016-07-11 13:13:25 -05:00
Phxntxm 4e27daafbf Printed the amount of sides of the die 2016-07-11 12:58:53 -05:00
Phxntxm 7c4066131c Changed limit of the side of dice to 100 instead of 25 2016-07-11 12:56:43 -05:00
Phxntxm e44909a049 Didn't properly loop the background task 2016-07-11 12:33:23 -05:00
Phxntxm c3002d613e Testing error on twitch loop 2016-07-11 12:12:05 -05:00
Phxntxm 03032d03e5 Testing error on twitch loop 2016-07-11 12:07:01 -05:00
Phxntxm 6336244dd4 Testing error on twitch loop 2016-07-11 12:05:38 -05:00
Phxntxm 656990686b Added error handling for bad arguments 2016-07-11 07:40:03 -05:00
phxntxm 6f3f3dbf1b Screw you pep8 2016-07-11 06:01:52 -05:00
phxntxm 03c60d0db5 Removed check if author is player2 from predicates 2016-07-10 17:02:27 -05:00
phxntxm 30bd29dcab Turned battling off if player2 lost 2016-07-10 17:01:27 -05:00
phxntxm c44fcfcbbf Removed checks, am checking this in the command now. 2016-07-10 16:57:52 -05:00
phxntxm 547025790e Fixed old connection closing method, used new function inside of confi 2016-07-10 16:18:30 -05:00
Phxntxm 3d61f9afd4 Spelled followers correctly 2016-07-10 13:58:45 -05:00
Phxntxm 95cf41e8cf Corrected variable name 2016-07-10 13:57:46 -05:00
Phxntxm 1d3944a3da Gave a bit more info on the twitch command of a user 2016-07-10 13:56:55 -05:00
Phxntxm 2c07b3c32d Fixed the error for double on/off 2016-07-10 13:39:22 -05:00
Phxntxm 0d00cf1685 Fixed the error for double on/off 2016-07-10 13:36:57 -05:00
Phxntxm c710dc153f Fixed the : 2016-07-10 13:35:27 -05:00
Phxntxm 160e9614ab Setup notifications toggling 2016-07-10 13:35:02 -05:00
Phxntxm 5f7ab2e127 Changed the description of the class to be a bit more concise 2016-07-10 13:10:14 -05:00
Phxntxm 40678f6a65 Added a feature to turn off 'live' when a channel goes offline 2016-07-10 13:06:56 -05:00
Phxntxm 8e99c939dc I don't use client, I use bot. Changed client to bot 2016-07-10 12:37:34 -05:00
Phxntxm 4128faebc6 Loop was moved to the config file, not the bot file 2016-07-10 12:31:53 -05:00
Phxntxm 536d348a68 Saved the actual server, not just the id now 2016-07-10 12:24:10 -05:00
Phxntxm e79a85e646 Added : after method... 2016-07-10 12:16:53 -05:00
Phxntxm bccae0ebd3 Added a notification feature that should send a message if one of the saved twitch channels goes live 2016-07-10 12:15:44 -05:00
Phxntxm ebc6ea4393 Added a method to check if a channel is online 2016-07-10 11:34:27 -05:00
Phxntxm 467fc40797 Lol that's not how MySQL commands work, silly Phantom 2016-07-10 11:00:37 -05:00
Phxntxm 5da878ee29 Corrected the MySQL search around the URL that, by adding quotes 2016-07-10 10:59:30 -05:00
Phxntxm 9355c2af81 Imported urllib for use to check if the twitch user exists 2016-07-10 10:55:26 -05:00
Phxntxm 430aa86e6a Added error handling for if the twitch user does not exist 2016-07-10 10:50:12 -05:00
Phxntxm 2f4a7370a6 Saved the mysql changes 2016-07-10 10:41:48 -05:00
Phxntxm 572d6837ca Referred bot back to self again 2016-07-10 10:40:23 -05:00
Phxntxm d761c4af5a URL should not have been here 2016-07-10 10:36:39 -05:00
Phxntxm 85a51855e4 Attempting to invoke subcommands, without invoking master command 2016-07-10 10:33:54 -05:00
Phxntxm 471a5d1ec6 Referred bot back to self.bot 2016-07-10 10:26:24 -05:00
Phxntxm b237985a75 Added the : after the method name...again 2016-07-10 10:24:55 -05:00
Phxntxm bce0df2441 Added twitch integration 2016-07-10 10:24:20 -05:00
Phxntxm 38938cdbcc Modified the regex to match 0 or more times of a number 2016-07-10 09:05:52 -05:00
Phxntxm 0c0e4ea52c Changed the range, was rolling 1 too many times 2016-07-10 08:59:33 -05:00
Phxntxm 1e5be0e8c6 Imported re 2016-07-10 08:58:46 -05:00
Phxntxm dd85ba49a5 Added notation support for rolling dice 2016-07-10 08:58:03 -05:00
Phxntxm 76db201274 Fixed indenting 2016-07-09 14:40:51 -05:00
Phxntxm 7ebb704bdd Added : after method, I always forget those :/ 2016-07-09 14:39:32 -05:00
Phxntxm 64db88544d Changed nsfw commands into subcommands 2016-07-09 14:38:48 -05:00
Phxntxm 4ddd6f6ac7 Added back the say command 2016-07-09 14:14:38 -05:00
Phxntxm e2b300f604 Removed stupid ', I hate Geany. Give me a new IDE please 2016-07-09 13:32:51 -05:00
Phxntxm 22a4e1e9fb Added a description to the addbot command 2016-07-09 13:31:40 -05:00
Phxntxm e607beb88d Changed bot to self.bot 2016-07-09 13:30:45 -05:00
Phxntxm 8128ea309e Changed join to addbot, join already exists 2016-07-09 13:28:48 -05:00
Phxntxm b229bdd100 Added necessary : after method 2016-07-09 13:28:00 -05:00
Phxntxm 9dbfb66119 Changed a description n mod, added a join command to provide a link to add the bot to another server 2016-07-09 13:27:14 -05:00
Phxntxm 911ac717bd Corrected error handling on unnsfw 2016-07-09 11:54:24 -05:00
Phxntxm eb98570d37 Changed messsage to message. I just wanted lots of s's :c 2016-07-09 11:41:43 -05:00
Phxntxm 28b47d2a13 Properly closed MySQL connections 2016-07-09 11:33:48 -05:00
Phxntxm e95638f2cb Fixed error in unnsfw command 2016-07-09 11:28:18 -05:00
Phxntxm 8cf9b784b7 Fixed error in unnsfw command 2016-07-09 11:27:48 -05:00
Phxntxm 1752c5d9f5 Setup derpi link to search the database instead of the old configuration file. 2016-07-09 11:25:28 -05:00
Phxntxm 65e25b52ff Changed the MySQl connection to disconnect and reconnect on each query, to avoid timeouts 2016-07-09 11:02:33 -05:00
Phxntxm 5de2c9cc5d Returned after printing the channel is already registered as nsfw 2016-07-09 10:41:44 -05:00
Phxntxm c9f1a44667 Imported pymysql so the error would work...derp again 2016-07-09 10:40:46 -05:00
Phxntxm 168aa819a1 Added error checking for an already registered nsfw channel 2016-07-09 10:26:13 -05:00
Phxntxm a112a9173f Changed this to save the channel's ID and not the messages...oops 2016-07-09 10:19:34 -05:00
Phxntxm 2d25c04264 Added a nsfwchannel command to add to the database 'this' channel 2016-07-09 10:17:54 -05:00
Phxntxm e68fa688c4 added cogs. if not included, to make module loading/unloading easier 2016-07-09 10:02:09 -05:00
Phxntxm 26fe9dee67 Fixed error in printing the error 2016-07-09 09:59:21 -05:00
Phxntxm d45b3d4ff2 Added error checking to view the errors on loading, unloading modules 2016-07-09 09:57:57 -05:00
Phxntxm 2923c9c876 Added a load, unload, and reload modules for live use to not need to restart the bot 2016-07-09 09:39:25 -05:00
Phxntxm af7f4c8273 Stopped listboops from showing users not in the server the command is ran in 2016-07-09 08:34:39 -05:00
Phxntxm 92b5b7ace9 Missed one replacement of the old 'determineId' method, replaced with discord.utils.find 2016-07-09 08:33:02 -05:00
Phxntxm c720b7e7b0 Fixed accidental indent in method 2016-07-09 08:29:17 -05:00
Phxntxm 4a801f844e Fixed missing : 2016-07-09 08:25:43 -05:00
Phxntxm c00b7d446d Added universal exception handling, removed most exception handling from the commands themselves 2016-07-09 07:57:25 -05:00
phxntxm 14a8222e40 Added class descriptions for cogs; created listboops command 2016-07-08 20:59:10 -05:00
phxntxm 45ab47bb75 Made function variables more explicit, for the help command to be more obvious 2016-07-08 20:42:33 -05:00
phxntxm 1f8b380b62 Added cog setup function in mod cog 2016-07-08 20:31:18 -05:00
phxntxm 2bde1ce936 Complete modification to use cogs 2016-07-08 20:27:19 -05:00