1
0
Fork 0
mirror of synced 2024-09-30 01:06:58 +13:00
Commit graph

668 commits

Author SHA1 Message Date
Phxntxm
dee1b616f2 Changed which endpoint was checked, so there's no need to make an http request for every user to check if they are online 2016-08-11 14:33:19 -05:00
Phxntxm
0f1e566b04 Corrected syntax error 2016-08-11 14:04:25 -05:00
Phxntxm
12f8fb3964 Corrected which channel's ID's are saved 2016-08-11 14:02:47 -05:00
Phxntxm
31459b8f18 corrected syntax error 2016-08-11 14:00:55 -05:00
Phxntxm
d906b46daf Changed notifications settings so that a mod can set a certain channel, for all notifications 2016-08-11 14:00:24 -05:00
phxntxm
dc257e9072 Corrected error when the wrong key was searched 2016-08-10 10:23:15 -05:00
phxntxm
23901ed148 Removed pass, might have been causing the issue with checking if someone has gone live 2016-08-10 10:20:58 -05:00
phxntxm
2b4b467c55 Changed the picarto settings, to allow multiple servers to be notified 2016-08-09 23:46:28 -05:00
phxntxm
08518e3beb Made updates to add a default dictionary/list if one was not found in the config file 2016-08-09 21:13:53 -05:00
phxntxm
e07bc8359e Removed error printing, changed up how the name is printed 2016-08-08 18:43:18 -05:00
phxntxm
e7b4f1c980 Printing error, as the checking for online isn't working for picarto 2016-08-08 18:40:52 -05:00
phxntxm
3a857b641f Changed the notification method name 2016-08-08 18:32:33 -05:00
Phxntxm
8b6aea195f Uncommented the check to see if someone has gone online 2016-08-08 17:26:44 -05:00
Phxntxm
9abe4f1d00 Changed descrption when adding a picarto URL, to make it clear the channel will be the one notified 2016-08-08 17:21:50 -05:00
Phxntxm
bdc66075a2 Changed where the bot sends a message, based on the channel saved 2016-08-08 17:21:04 -05:00
Phxntxm
01ab4b8861 Corrected the discord object 2016-08-08 17:15:17 -05:00
Phxntxm
6538ab0651 Added the ability to change which channel is notified whne you go live 2016-08-08 17:10:07 -05:00
Phxntxm
c3d66e60b4 Added a loop to check if someone has gone live on Picarto 2016-08-08 16:53:29 -05:00
Phxntxm
62f78b6ee0 Saved the content when changing notifications 2016-08-08 16:50:50 -05:00
Phxntxm
92678a6344 Saved the content when changing notifications 2016-08-08 16:50:29 -05:00
Phxntxm
b1e0d05137 Added notification commands, and the ability to remove picarto URL's 2016-08-08 16:48:59 -05:00
Phxntxm
125eb1895c Changed when to title and replace _, as it was affecting more than I wanted 2016-08-08 16:46:02 -05:00
Phxntxm
3ebe96ef43 Added social_urls to the list of things to print 2016-08-08 16:44:58 -05:00
Phxntxm
906d31bdb3 Corrected the URL checked 2016-08-08 16:40:26 -05:00
Phxntxm
ff7e5ddee4 Corrected the URL checked 2016-08-08 16:39:50 -05:00
Phxntxm
7bec2d260a Fixed error where the url was not being retrieved 2016-08-08 16:37:44 -05:00
Phxntxm
57c17bd952 Imported needed module 2016-08-08 16:35:51 -05:00
Phxntxm
a0b50c880c Corrected member paramater 2016-08-08 16:35:15 -05:00
Phxntxm
0eee1bf40b Added the ability to add a picarto url, and view stats about one 2016-08-08 16:28:32 -05:00
Phxntxm
4a551a4258 Added the ability to add a picarto url, and view stats about one 2016-08-08 16:27:46 -05:00
Phxntxm
3b9818adde Added an extra check to the derpi command, verifying if a search found results 2016-08-08 13:44:03 -05:00
Phxntxm
094f2ad2b6 Added a picarto cog 2016-08-07 15:20:43 -05:00
Phxntxm
9d116f7890 Added a purge command 2016-08-07 14:26:44 -05:00
Phxntxm
1002dcc9a8 Added a snek command 2016-08-07 13:04:52 -05:00
Phxntxm
ff3d62093a Added the aliases to the right method this time 2016-08-07 09:03:36 -05:00
Phxntxm
7969d65578 Added an alias 'invite' to the addbot command 2016-08-07 09:02:35 -05:00
Phxntxm
370c2e02b1 Changed the order of operations, in case the bot doesn't have permissions to delete/send a message 2016-08-07 08:55:35 -05:00
Phxntxm
425cf30965 Changed the order of operations, in case the bot doesn't have permissions to delete/send a message 2016-08-07 08:46:30 -05:00
phxntxm
1cea255d83 Pep8 updates 2016-08-06 17:20:23 -05:00
phxntxm
b5df9ce404 Changed uptime to use pendulum instead of datetime 2016-08-06 17:20:16 -05:00
Phxntxm
f974acca92 Added an extra newline to the printing of the queue 2016-08-06 10:25:38 -05:00
Phxntxm
07499611f3 Removed extra ] 2016-08-06 09:50:23 -05:00
Phxntxm
d6fd844f92 corrected error where the wrong class was being checked for duration 2016-08-06 09:43:09 -05:00
Phxntxm
2d96f351c7 Removed the leave command 2016-08-06 09:11:40 -05:00
Phxntxm
a575baf5e1 Added a second error check in case response is not valid json text 2016-08-06 08:56:02 -05:00
Phxntxm
3eb79a073b Added an ETA message to estimate the next song in the queue that's yours 2016-08-06 08:09:24 -05:00
Phxntxm
23f01d0e1c Added a check to see if the person requesting a song is in the channel the bot is in 2016-08-06 07:35:59 -05:00
Phxntxm
6b161692a4 Added a check for if a queue was empty, when printing the queue 2016-08-06 07:27:08 -05:00
Phxntxm
0998e85950 Fixed error where 'None' song would print, when no songs are playing 2016-08-06 06:55:32 -05:00
Phxntxm
d729decf14 Changed say to send_message, as for some reason the channel was not being resolved automatically 2016-08-06 06:50:28 -05:00
phxntxm
3357e5a9f0 Corrected error when printing the queue 2016-08-05 19:55:44 -05:00
phxntxm
796ae55ffd Imported re for regex use 2016-08-05 17:00:16 -05:00
Phxntxm
3deed243ce Added a kdr to overwatch stats, when a hero is presented 2016-08-05 10:45:43 -05:00
Phxntxm
a85082a876 Corrected error where only the author was searched instead of the user 2016-08-05 10:23:59 -05:00
Phxntxm
d137884b5b Changed up error checking for if a hero isn't found/not used 2016-08-05 10:15:40 -05:00
Phxntxm
17e78cd38e Changed up error checking for if a hero isn't found/not used 2016-08-05 10:15:08 -05:00
Phxntxm
34e0496e36 Changed up error checking for if a hero isn't found/not used 2016-08-05 10:14:04 -05:00
Phxntxm
2e775e12d4 Changed up the base URL for overwatch 2016-08-05 10:01:06 -05:00
Phxntxm
5beeff465f Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2016-08-05 08:45:34 -05:00
Phxntxm
ca596a99a3 Provided a queue command to print the current queue 2016-08-05 08:45:20 -05:00
phxntxm
05ba41b493 Removed alias that clashed with a previous command 2016-08-04 16:41:19 -05:00
Phxntxm
4d24fac25d Stopped the bot from sending a message if there was an owner when loading/unloading a module 2016-08-04 13:31:09 -05:00
Phxntxm
c2f2e6816d Added error checking in loading and unloading a module 2016-08-04 13:29:45 -05:00
Phxntxm
ecf36d59c9 Added an error checking in case a tag was provided in the incorrect format 2016-08-04 10:49:24 -05:00
Phxntxm
567162268b Added an error checking in case a tag was provided in the incorrect format 2016-08-04 10:47:34 -05:00
Phxntxm
c907f76ac8 Removed a loss for some who declines to battle 2016-08-04 10:20:28 -05:00
Phxntxm
3d83374424 Added the abilty to have multiple server ID's, if that ever happens 2016-08-04 09:30:34 -05:00
Phxntxm
f6bdf056e5 Added an alias for the link to add Bonfire to a server 2016-08-04 09:30:18 -05:00
Phxntxm
7d1890ab59 Removed the ability to execute some commands via PM 2016-08-04 07:10:17 -05:00
phxntxm
c975e2b50c Printing out the time left when a command is on cooldown 2016-08-03 20:31:38 -05:00
phxntxm
c2a24887e9 Added an error checking for unsupported URL's 2016-08-03 20:00:46 -05:00
Phxntxm
1c5bdaf5cc Added the required permission of kick_members to the notification change command 2016-08-01 11:18:31 -05:00
Phxntxm
8e30e32f8b Added the ability to change user notifications 2016-08-01 11:10:20 -05:00
Phxntxm
95b28f87c1 Updated debug command to print an error 2016-08-01 10:31:21 -05:00
Phxntxm
2e7906fd4a Updated debug command to print an error 2016-08-01 10:28:16 -05:00
Phxntxm
23bdd8d448 Added a cog to update the information from bots.discord.pw 2016-08-01 08:53:46 -05:00
Phxntxm
6e163eb080 Removed printing of invalid commands 2016-08-01 08:06:11 -05:00
phxntxm
3b3650d6b2 Have the bot send a message once a role is removed 2016-07-31 16:54:44 -05:00
phxntxm
d57b695ef0 Flushed out error checking for all role commands 2016-07-31 16:52:29 -05:00
phxntxm
3faae46b44 Changed up the name of the method to delete roles 2016-07-31 16:36:24 -05:00
phxntxm
5114a6088a Removed a duplicate alias 2016-07-31 16:28:58 -05:00
phxntxm
432bf2de6d Removed duplicate method 2016-07-31 16:28:32 -05:00
phxntxm
0b8c63ccb9 Added the ability to delete roles from the server, and remove roles from a member 2016-07-31 16:26:54 -05:00
phxntxm
3f79d6bd5b Added the ability to add roles to members 2016-07-31 16:14:29 -05:00
phxntxm
3b39a1dc65 Added the ability to add roles to members 2016-07-31 16:12:21 -05:00
phxntxm
7132d14815 Added the ability to add roles to members 2016-07-31 16:11:02 -05:00
phxntxm
118a567c4d Added the ability to add roles to members 2016-07-31 16:09:41 -05:00
phxntxm
4c656d4f2c Added the ability to add roles to members 2016-07-31 16:06:46 -05:00
Phxntxm
82337629fe Added the ability to add a role to members 2016-07-31 15:30:55 -05:00
Phxntxm
5a38a63a9a Added the ability to remove a role from the server 2016-07-31 15:04:51 -05:00
Phxntxm
32c8db7d38 Added the ability to remove a role from the server 2016-07-31 15:03:34 -05:00
Phxntxm
db7124503b Added the ability to remove a role from the server 2016-07-31 15:02:51 -05:00
Phxntxm
ddbff0f8a4 Added the ability to remove a role from the server 2016-07-31 14:57:52 -05:00
Phxntxm
529225997d Added the ability to remove a role from the server 2016-07-31 14:56:03 -05:00
Phxntxm
379222529b Added the ability to remove a role from the server 2016-07-31 14:54:12 -05:00
Phxntxm
62ac61c73a Added the ability to remove a role from the server 2016-07-31 14:53:21 -05:00
Phxntxm
3a77330eb3 Changed up formatting for code blocks, as sometimes a line would be removed from it 2016-07-31 14:11:05 -05:00
Phxntxm
692a0d60a2 testing newline in ``` 2016-07-31 13:02:40 -05:00
Phxntxm
57adfcd5a5 Added a newline, as ` seems to be cutting off the last thing in a list 2016-07-31 12:35:24 -05:00
Phxntxm
91424111a9 Removing the change I was testing 2016-07-31 12:32:01 -05:00
Phxntxm
65a6da8bc3 testing a command 2016-07-31 12:29:50 -05:00
Phxntxm
5ad41bf1e0 Added the ability to add the new role to members, after creating 2016-07-31 12:11:20 -05:00
Phxntxm
9b8c7ac8f8 Added the ability to add the new role to members, after creating 2016-07-31 12:05:26 -05:00
Phxntxm
d0f89a5862 Added the ability to add the new role to members, after creating 2016-07-31 12:05:00 -05:00
Phxntxm
08496c3b38 Added the ability to add the new role to members, after creating 2016-07-31 12:03:54 -05:00
Phxntxm
6ecbd529be Added a roles command, to create roles on the fly 2016-07-31 10:51:54 -05:00
Phxntxm
f138c2a986 Added a roles command, to create roles on the fly 2016-07-31 10:49:34 -05:00
Phxntxm
8d6561a440 Added a roles command, to create roles on the fly 2016-07-31 10:34:50 -05:00
Phxntxm
cf062b9fcf Added a roles command, to create roles on the fly 2016-07-31 10:33:53 -05:00
Phxntxm
de042becaa Added a roles command, to create roles on the fly 2016-07-31 10:29:29 -05:00
Phxntxm
9060738e35 Added a roles command, to create roles on the fly 2016-07-31 10:26:19 -05:00
Phxntxm
b8200adcb0 Added a roles command, to create roles on the fly 2016-07-31 10:25:17 -05:00
Phxntxm
6a775adb67 Fixed issue where valid_perms did not show all permissions 2016-07-31 09:20:59 -05:00
Phxntxm
ff5cb2fd52 Added an exception in case we could not connect to twitch at the time 2016-07-31 06:36:00 -05:00
phxntxm
e1b68f52e8 Fixed issue where all valid permissions would not print 2016-07-30 21:20:38 -05:00
phxntxm
2b4d331b1a Corrected issue where the comparison for custom permissions was comparing the wrong value 2016-07-30 21:16:59 -05:00
phxntxm
8e050c016e Updates to comply with PEP 8 2016-07-30 19:20:55 -05:00
phxntxm
560d15eb62 Removed testing command 2016-07-30 17:15:59 -05:00
phxntxm
e6cd9279a0 Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2016-07-30 17:10:07 -05:00
phxntxm
4e21bd2856 Testing ctx.invoied_subcommand 2016-07-30 17:09:42 -05:00
Phxntxm
9b9a044a27 Changed up description of removing rulres 2016-07-30 14:20:31 -05:00
Phxntxm
c3b73b1dfb Added a rules command, to add custom rules per server 2016-07-30 14:18:49 -05:00
Phxntxm
c914fcc6b9 Removed the counter for the deletion of rules 2016-07-30 14:17:36 -05:00
Phxntxm
67476c3e2f Added a message for the bot to send when a rule is removed successfully 2016-07-30 14:16:58 -05:00
Phxntxm
183932ca1f Added a rules command, to add custom rules per server 2016-07-30 14:15:45 -05:00
Phxntxm
b8f46426f8 Added a rules command, to add custom rules per server 2016-07-30 14:14:46 -05:00
Phxntxm
94ce235753 Added a rules command, to add custom rules per server 2016-07-30 14:12:54 -05:00
Phxntxm
f1c8c13de4 Added a rules command, to add custom rules per server 2016-07-30 14:12:35 -05:00
Phxntxm
ac025a5ddb Added a rules command, to add custom rules per server 2016-07-30 14:11:56 -05:00
Phxntxm
04a9ce1ce1 removed not used variable 2016-07-30 14:11:42 -05:00
Phxntxm
d854362304 corrected the detection of when the songs' queue is full 2016-07-30 12:28:53 -05:00
Phxntxm
226b47453e corrected the detection of when the songs' queue is full 2016-07-30 12:25:01 -05:00
Phxntxm
c29b9f6aea corrected syntax error 2016-07-30 10:01:48 -05:00
Phxntxm
945e3ef878 corrected syntax error 2016-07-30 10:00:51 -05:00
Phxntxm
6983cf8d6b Added an uptime command to the bot 2016-07-30 09:59:35 -05:00
Phxntxm
a4b9ce01e8 Added a cooldown to battling 2016-07-30 09:17:18 -05:00
Phxntxm
06caedb4a4 Corrected the permissions printing, to show the actual permission instead of the value 2016-07-30 07:55:26 -05:00
Phxntxm
d544e71104 Printing the command in permissions checking, as it seems to be failing. 2016-07-30 07:44:43 -05:00
Phxntxm
ad6fdac4d1 corrected syntax error 2016-07-30 07:39:10 -05:00
Phxntxm
acdab526a9 corrected syntax error 2016-07-30 07:31:55 -05:00
Phxntxm
70be37b770 Changed the checks on all commands to use the revised custom format 2016-07-30 07:30:28 -05:00
Phxntxm
2728c7c6d7 Custom permissions has been changed to save the value instead 2016-07-30 06:58:01 -05:00
phxntxm
754d2ba043 Updated http request to send a custom user-agent 2016-07-29 19:50:16 -05:00
Phxntxm
e63242b392 Corrected issue where match_multi was never used 2016-07-29 07:54:36 -05:00
Phxntxm
7344058a7b Uses the default bot.loop instead of the one in config 2016-07-29 07:52:50 -05:00
Phxntxm
7a44081ea3 Corrected error when checking if a channel was online 2016-07-29 07:36:27 -05:00
phxntxm
7246982ff1 Corrected syntax errors 2016-07-28 18:17:21 -05:00
phxntxm
36ac88ac45 Corrected syntax errors 2016-07-28 18:16:42 -05:00
phxntxm
187ee31fc8 Corrected syntax errors 2016-07-28 18:15:02 -05:00
phxntxm
5259b3ec3d Removed test command 2016-07-28 18:08:06 -05:00
phxntxm
ac4398e4a8 Testing command 2016-07-28 18:05:06 -05:00
Phxntxm
e68c19fe9d Corrected description on a couple commands 2016-07-28 15:25:22 -05:00
Phxntxm
2e9ba32e87 removed all references to urllib in place of aiohttp 2016-07-28 12:11:48 -05:00
Phxntxm
83109c1766 tuned up a bit of the code 2016-07-28 11:59:12 -05:00
Phxntxm
72b14d315b Tidied up some code 2016-07-28 07:08:44 -05:00
Phxntxm
b93745cb6c Tidied up some coding 2016-07-28 06:50:05 -05:00
Phxntxm
b555f12b48 Removed some useless code 2016-07-28 06:45:27 -05:00
Phxntxm
06e9261107 Corrected issue where author's rating was printed instead of the user's mentioned 2016-07-25 15:24:36 -05:00
Phxntxm
b492b544bd Added total ranks to the printing of the battle stats 2016-07-25 15:15:19 -05:00
Phxntxm
96b1b5fb33 Corrected numbering for the ranking system 2016-07-25 15:11:08 -05:00
Phxntxm
8d3cad3138 Fixed issue where bot was not sending the message of the stats when calculated 2016-07-25 15:10:35 -05:00
Phxntxm
5cfc0510f3 Corrected syntax error 2016-07-25 15:09:21 -05:00
Phxntxm
67a319a3b8 Corrected syntax error 2016-07-25 15:08:27 -05:00
Phxntxm
c7124d448b Corrected syntax error 2016-07-25 15:07:56 -05:00
Phxntxm
96fbe0c288 Removed stats command from interaction cog 2016-07-25 15:00:34 -05:00
Phxntxm
7bc51cfd68 Corrected syntax error 2016-07-25 14:58:09 -05:00
Phxntxm
2764730b8f Provided a stats command that should provide the battling stats for a specific user 2016-07-25 14:57:47 -05:00
Phxntxm
5d9a5efa25 Changed up the printing method for each user's rating 2016-07-25 14:29:40 -05:00
Phxntxm
8cb7999ac0 Corrected syntax error 2016-07-25 14:25:47 -05:00
Phxntxm
5bf79c5a30 Corrected issue where member ID was not added to the tuple needed for the leaderboard 2016-07-25 14:24:26 -05:00
Phxntxm
233cfd81c6 Corrected syntax error 2016-07-25 13:43:17 -05:00
Phxntxm
404013322c Corrected syntax error 2016-07-25 13:41:41 -05:00
Phxntxm
1d18909230 Completed leaderboard command, should print a sorted list of the battle records and rating 2016-07-25 12:50:08 -05:00
Phxntxm
47ab0257a7 Corrected syntax error 2016-07-25 10:59:38 -05:00
Phxntxm
17f9e559cb Changed leaderboard command to use the new rating system 2016-07-25 10:58:39 -05:00
Phxntxm
5bbf104eba Corrected syntax error 2016-07-25 09:49:51 -05:00
Phxntxm
83e620e3e6 Corrected syntax error 2016-07-25 09:32:35 -05:00
Phxntxm
6ce5a0f101 Corrected syntax error 2016-07-25 09:30:20 -05:00
Phxntxm
ec191c06fa Changed the required permissions to be send_messages instead of none 2016-07-25 09:25:41 -05:00
Phxntxm
084111e438 Changed up the battling ranking system to use the Harkness rating system 2016-07-25 09:25:17 -05:00
Phxntxm
bda7086cab Corrected syntax error 2016-07-24 13:57:10 -05:00
Phxntxm
b00a5e5b59 refresh URL upon toggling next song; should stop the random skips 2016-07-24 13:55:18 -05:00
Phxntxm
5f399bac82 Printing flag states for testing playlist error 2016-07-24 13:09:15 -05:00
Phxntxm
43a1025da0 Fixed issue with not providing a die notation for roll command 2016-07-24 10:34:04 -05:00
Phxntxm
1427bce6b3 Removed capitalCase in method 2016-07-24 10:33:46 -05:00
Phxntxm
5fdde35cbb Corrected syntax error 2016-07-24 09:13:23 -05:00
Phxntxm
01988feef1 Corrected syntax error 2016-07-24 09:10:56 -05:00
Phxntxm
16f36ab933 Replaced urllib with aiohttp 2016-07-24 09:09:12 -05:00
Phxntxm
afe8efde54 Corrected syntax error 2016-07-24 09:04:50 -05:00
Phxntxm
122e6049cf Corrected syntax error 2016-07-24 09:04:29 -05:00
Phxntxm
8d9c6eb047 Corrected syntax error 2016-07-24 09:04:12 -05:00
Phxntxm
fb7edc4523 Corrected syntax error 2016-07-24 09:03:33 -05:00
Phxntxm
1f7da0a4f5 Replaced urllib with aiohttp 2016-07-24 09:02:50 -05:00
Phxntxm
4792225061 Corrected syntax error 2016-07-24 08:51:04 -05:00
Phxntxm
5474a994ee Corrected syntax error 2016-07-24 08:50:19 -05:00
Phxntxm
358f3a5830 Replaced urllib with aiohttp 2016-07-24 08:49:05 -05:00
Phxntxm
82f68ff53a removed Timer import, using asyncio now 2016-07-24 07:14:02 -05:00
Phxntxm
4b03e13495 Changed timer on call_later back to 3 minutes, no testing needed anymore 2016-07-23 13:43:39 -05:00
Phxntxm
ff27da7da0 Changed Timer to use asyncio's call_later method 2016-07-23 13:42:31 -05:00
Phxntxm
c69b48bff0 Fixed syntax error 2016-07-23 11:40:52 -05:00