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

1350 commits

Author SHA1 Message Date
Phxntxm
8e2c943d24 Correct issue where DM Channels were not detected 2017-03-24 14:14:13 -05:00
Phxntxm
e985eae89a Correct issue where DM Channels were not detected 2017-03-24 14:13:46 -05:00
Phxntxm
078f1bbdf4 Add a command to send a random dog picture 2017-03-23 22:11:22 -05:00
Phxntxm
11142f9fa8 Add a command to send a random cat picture 2017-03-23 22:02:56 -05:00
Phxntxm
a5b21eaa68 Handle if someone has battled someone then left the server 2017-03-23 22:02:42 -05:00
phxntxm
13f2b89e81 Handle no server settings 2017-03-22 22:21:59 -05:00
phxntxm
788743de25 Update to allow nsfw channel management in DM 2017-03-22 22:21:34 -05:00
Phxntxm
66099fe6b1 Use self to get bot 2017-03-20 17:27:34 -05:00
Phxntxm
d0bd554b04 Use get_member instead of a generator that includes every member 2017-03-20 17:26:26 -05:00
Phxntxm
e9a4d5aee8 Use bot.users instead of the generator, to stop the blocking call 2017-03-20 17:24:41 -05:00
Phxntxm
9cccbdb8de Comment out blocking call temporarily 2017-03-20 16:56:05 -05:00
Phxntxm
11cee7e7a4 Ensure more than one string is provided 2017-03-20 16:18:29 -05:00
Phxntxm
6de148a1c7 Remove logging for rethinkdb instance open/close 2017-03-19 22:48:22 -05:00
Phxntxm
748bc4f374 If there are no server settings at all, assume no rules 2017-03-19 22:13:14 -05:00
Phxntxm
cbc29c226f Fixed an issue where cache would update even on a get request, causing an infinite loop 2017-03-19 22:11:40 -05:00
Phxntxm
67d6c43e96 Fixed an issue where cache would update even on a get request, causing an infinite loop 2017-03-19 22:11:14 -05:00
Phxntxm
c0c135fb3d Compare the ID instead of the message instance 2017-03-19 21:47:06 -05:00
Phxntxm
5c90d3e7fa Start logging rethinkdb open/close as there appears to be stuck connections 2017-03-19 21:46:54 -05:00
Phxntxm
f2ad84e0c5 Trigger typing for stats that show images as those can take a while to format/send 2017-03-19 18:04:52 -05:00
Phxntxm
8f4421e6a1 Catch if we can't connect to OW API 2017-03-19 18:02:34 -05:00
Phxntxm
c2b20a9a29 Correct how to check if a channel is a DM Channel 2017-03-19 17:43:42 -05:00
Phxntxm
e158d18c4f Silently catch unable to send message errors 2017-03-19 17:43:28 -05:00
Phxntxm
ae46593ec9 Correct issue where a member couldn't be found due to comparing a string and an int 2017-03-19 17:24:10 -05:00
Phxntxm
7d54882549 Convert to string for polls 2017-03-16 15:19:48 -05:00
phxntxm
209e1522f1 Add a possible error that can be caught 2017-03-15 22:36:00 -05:00
phxntxm
0c25f4ab6f Use get in case the member doesn't exist 2017-03-15 22:35:44 -05:00
phxntxm
efcd7ad251 Ensure the message responded to is the one we want 2017-03-15 21:29:51 -05:00
phxntxm
2c5c69cfce Accept the correct parameters 2017-03-15 21:22:02 -05:00
phxntxm
94c5ef1873 Merge branch 'rewrite' of https://github.com/Phxntxm/Bonfire into rewrite 2017-03-15 14:10:35 -05:00
Phxntxm
a88ee2972b Correct how to check if a channel is online 2017-03-12 21:56:24 -05:00
Phxntxm
e0534d1d5b Make a call to get the online channels 2017-03-12 21:54:00 -05:00
Phxntxm
c1c1a7c20f Updated picarto to work with rewrite 2017-03-12 21:51:00 -05:00
Phxntxm
9caf781289 Correctly handle str/int conversions 2017-03-12 17:14:15 -05:00
Phxntxm
582e33d907 Correctly handle str/int conversions 2017-03-12 17:08:49 -05:00
Phxntxm
22c4b57991 Handle if no server_settings are set 2017-03-12 17:07:42 -05:00
Phxntxm
dcfbc0a3f0 Update some features to work with rewrite 2017-03-12 17:05:47 -05:00
Phxntxm
630a11c1cf Rewrite the channel loop for twitch 2017-03-12 16:59:56 -05:00
Phxntxm
1473dc9e67 Convert id's to int 2017-03-12 16:46:43 -05:00
Phxntxm
1e535a3842 Update checks to not create the deviant art table 2017-03-12 16:21:08 -05:00
Phxntxm
7a41730f81 Not supporting DA anymore 2017-03-12 15:38:43 -05:00
Phxntxm
6007237f10 Added a da list command 2017-03-11 21:35:56 -06:00
Phxntxm
9311ac78a6 Use get in case a notification channel is not set 2017-03-11 21:35:48 -06:00
Phxntxm
e3e1474d38 Add scores command 2017-03-10 21:05:49 -06:00
Phxntxm
a61f79004e Added a detailed pages paginator 2017-03-10 21:05:42 -06:00
Phxntxm
ca7967057d Remove adding a thumbnail because osu hides this behind a base64 encode, and discord handles the image downloading manually 2017-03-10 19:02:41 -06:00
Phxntxm
2a966124c3 Use nice formatting on the embed for osu 2017-03-10 18:40:26 -06:00
Phxntxm
7459ac1955 Correct a couple issues with osu 2017-03-10 18:16:29 -06:00
Phxntxm
45ab645e1a Correct a couple issues with osu 2017-03-10 18:15:23 -06:00
Phxntxm
78a46b2482 Correct a couple issues with osu 2017-03-10 18:11:21 -06:00
Phxntxm
9e86472b64 First implementation for the new osu for rewrite 2017-03-10 18:07:39 -06:00
Phxntxm
8699b0e303 Add the uptime check to the uptime command itself 2017-03-10 16:19:18 -06:00
Phxntxm
67d717cff7 Add a check to ensure uptime exists before adding it 2017-03-10 14:38:29 -06:00
Phxntxm
c49bae11a8 Add a check to ensure the message is not deleted as we're waiting for a reaction 2017-03-10 14:25:37 -06:00
Phxntxm
00c8f2509f Trigger typing when looking up twitch/picarto API 2017-03-09 22:37:43 -06:00
Phxntxm
191a48ce9f Pretty print the title 2017-03-09 22:36:29 -06:00
Phxntxm
6a6ae6683d Don't include at all if there is no value 2017-03-09 22:35:22 -06:00
Phxntxm
e5e1ef7638 Add a zero-width space if there is no value to use 2017-03-09 22:33:27 -06:00
Phxntxm
6928c13cfd Corrected the name of social links 2017-03-09 22:28:34 -06:00
Phxntxm
d6b1b8bc49 Changed picarto to use embeds 2017-03-09 22:27:52 -06:00
Phxntxm
5c20112ff3 Correct issue where the api URL shadowed the picarto URL 2017-03-09 22:22:44 -06:00
Phxntxm
2b1d34707a Update to work with rewrite 2017-03-09 16:28:08 -06:00
phxntxm
606f9c1d27 Fix turning off notifications for twitch 2017-03-08 15:18:45 -06:00
phxntxm
b93f104965 Change positional argument to kwarg 2017-03-08 15:13:54 -06:00
phxntxm
78352bea85 Update twitch to use an embed 2017-03-08 15:12:40 -06:00
phxntxm
9e057dbc07 Stopped searching for the one indexed list on get 2017-03-08 15:04:10 -06:00
phxntxm
fd5d3f1538 Correct the key searching for twitch 2017-03-08 15:03:13 -06:00
phxntxm
993ad7ce43 Update to match rewrite 2017-03-08 14:59:05 -06:00
phxntxm
fa8d03c6c2 removed the message sent, as we're now using typing 2017-03-08 14:50:29 -06:00
phxntxm
4e09b7a737 Correct int/str conversion 2017-03-08 14:04:16 -06:00
phxntxm
1a2a1f070c Correct int/str conversion 2017-03-08 13:43:15 -06:00
phxntxm
81b0500733 Fixed typo 2017-03-08 13:37:46 -06:00
phxntxm
17c853caae Update to work with rewrite 2017-03-08 13:36:11 -06:00
phxntxm
d43c854584 Corrected an issue with changing the status/name 2017-03-08 13:25:52 -06:00
phxntxm
16aaf3f01b Fixed rules adding, fixed prune, caused purge to start before the command that triggered it 2017-03-08 02:44:27 -06:00
phxntxm
286af4e356 Looked at the right key... 2017-03-08 02:40:55 -06:00
phxntxm
1800c9ab5c Corrected how to get content from cache 2017-03-08 02:38:26 -06:00
phxntxm
b0a6328b57 Corrected how to check if a command can have permissions setup on it 2017-03-08 02:33:18 -06:00
phxntxm
1d3ab2fb20 Updated manage_server to manage_guild 2017-03-08 02:28:57 -06:00
phxntxm
a22cf3e414 Corrected some issues with the database 2017-03-08 02:26:50 -06:00
phxntxm
ac23687696 Corrected what http client to retrieve 2017-03-08 02:22:26 -06:00
phxntxm
38268f4886 Added a possible exception 2017-03-08 02:19:47 -06:00
phxntxm
d8a053eb67 Changed the converter to work with the rewrite 2017-03-08 02:18:28 -06:00
phxntxm
85e70c9a11 Removed unneeded clientsessions 2017-03-08 02:08:01 -06:00
phxntxm
ffadb4a634 Removed key from parameters 2017-03-08 02:02:01 -06:00
phxntxm
6ed044c1cc Convert all comparisions to the db to string, as rethinkdb fails to parse ints as keys, or long ints in general 2017-03-08 01:55:22 -06:00
phxntxm
18e5648b41 Cast ID to a str 2017-03-08 01:29:05 -06:00
phxntxm
e482f671d8 Stopped trying to pull from a one indexed list, as we no longer use that in key'd tables 2017-03-08 01:20:42 -06:00
phxntxm
17b9e0253b Stopped trying to pull from a one indexed list, as we no longer use that in key'd tables 2017-03-08 01:19:58 -06:00
phxntxm
061562b60d Convert to a string for id's when searching for command stats 2017-03-08 00:51:17 -06:00
phxntxm
ca5bcbdc80 Set the content to the cursor if a key is given 2017-03-08 00:44:58 -06:00
phxntxm
58eb623a1a Stopped trying to pull from a one indexed list, as we no longer use that in key'd tables 2017-03-08 00:43:40 -06:00
phxntxm
7a3e7afe33 Don't convert if we're given a dict, aka using get 2017-03-08 00:32:55 -06:00
phxntxm
69a92431d8 Removed not required string conversions 2017-03-08 00:27:03 -06:00
phxntxm
1e2f44d494 Corrected a ctrl+f incorrect change 2017-03-08 00:23:16 -06:00
phxntxm
bb08575b98 Added the rethink connection to run on 2017-03-08 00:22:32 -06:00
phxntxm
365501bef2 Added a possible exception to catch 2017-03-08 00:21:11 -06:00
phxntxm
c6d6661204 Added a possible exception to catch 2017-03-08 00:20:23 -06:00
phxntxm
78187197b3 Added a possible exception to catch 2017-03-08 00:19:42 -06:00
phxntxm
f91e992d25 Corrected the commenting method to python (stupid php....) 2017-03-08 00:16:11 -06:00
phxntxm
4018db2dac Added a battle outcome 2017-03-08 00:15:52 -06:00
phxntxm
67d8fedef8 Updated for rewrite: Batch 6 2017-03-07 22:28:30 -06:00
phxntxm
2b9d8a2dca Update for rewrite: Batch 5 2017-03-07 17:56:24 -06:00
phxntxm
d82127fa38 Update for rewrite: Batch 4 2017-03-07 17:47:00 -06:00
phxntxm
2852576250 Corrected the event to wait for 2017-03-07 17:32:40 -06:00
phxntxm
d9c654f73d Check if the returned content is none first 2017-03-07 17:32:33 -06:00
phxntxm
16b9dc36c7 Add a check in case there are no custom permissions 2017-03-07 17:24:02 -06:00
phxntxm
82a26df045 Changed the check for a private channel to look for the type 2017-03-07 17:22:10 -06:00
phxntxm
3543d205f2 Update for rewrite: Batch 3 2017-03-07 17:18:18 -06:00
phxntxm
a05b768274 Updated for rewrite: Batch 2 2017-03-07 16:35:30 -06:00
Phxntxm
8e89847ed2 Corrected how to handle failed int conversion 2017-03-06 16:15:48 -06:00
Phxntxm
087e9d186d Corrected syntax error 2017-03-06 16:13:22 -06:00
Phxntxm
a2783fefed Handle if an invalid limit is passed to prune 2017-03-06 16:11:49 -06:00
Phxntxm
8aa9c5d5b9 Add the ability to prune from roles 2017-03-06 16:09:41 -06:00
Phxntxm
ccaaa8b04a Don't count the message that triggered the prune command 2017-03-06 16:08:55 -06:00
Phxntxm
0757844905 Corrected syntax error 2017-03-05 20:51:50 -06:00
Phxntxm
4f3c05486a Corrected syntax error 2017-03-05 20:50:51 -06:00
Phxntxm
5f00739f5f Added total to dice rolls with more than 1 die 2017-03-05 20:49:56 -06:00
Phxntxm
23e69a01c6 Update to work with the rewrite: Batch 1 2017-03-05 20:45:44 -06:00
Phxntxm
9d15cc0bc8 Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2017-03-05 14:16:36 -06:00
phxntxm
650f1fa839 Catch exception when the result of debug is too long 2017-03-04 01:51:30 -06:00
phxntxm
84baef2125 Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2017-03-04 01:48:54 -06:00
phxntxm
11cb4cbf99 Pep8 change 2017-03-04 01:48:47 -06:00
Phxntxm
9721bbddaf Allowed soundcloud to be downloaded again, as it is now working once more 2017-03-03 14:43:35 -06:00
Phxntxm
78922eda6c Added a check for if the message has been removed while still being set up 2017-03-03 14:29:51 -06:00
ddlr
b795c4e56f Add a likely reason to music timeout message 2017-03-01 23:23:56 +13:00
Phxntxm
3050e4da4f Imported inspect so the voice debug command can be used 2017-02-27 19:02:18 -06:00
Phxntxm
901870d4bf Don't let a player who hasn't bet play 2017-02-27 18:07:23 -06:00
Phxntxm
d4c4c9e65a Made the deck 2 decks 2017-02-27 17:49:37 -06:00
Phxntxm
51fb8fb4cc Catch when DA doesn't return any results for an artist 2017-02-27 17:25:33 -06:00
Phxntxm
98c070a203 Added a method to check if the database is setup correctly 2017-02-25 15:45:39 -06:00
Phxntxm
d116a546a0 Added the db_check method 2017-02-25 15:45:27 -06:00
Phxntxm
42932db8a6 Sent a message when succesfully adding a server to be notified 2017-02-19 15:32:21 -06:00
Phxntxm
3a453e592b Another find+replace error fixed 2017-02-19 15:12:13 -06:00
Phxntxm
d9976dfd87 Added a debug command for the voice shards 2017-02-17 22:14:38 -06:00
Phxntxm
f8cb681480 Added the lol_key to the config file 2017-02-17 22:11:47 -06:00
Phxntxm
dd3194c314 Added an additional step, to ensure a state's entries are cleared even if it doesn't exist. Lol just that comment shows how shitty discord's voice is. 2017-02-17 22:11:19 -06:00
Phxntxm
2e4f006f5f Corrected issue where having no server alerts set broke the loop 2017-02-17 18:07:50 -06:00
Phxntxm
2d3e5d680c Corrected issue where providing a page with help didn't change the page 2017-02-17 18:00:34 -06:00
Phxntxm
7b4ef527d1 Added the ability to change which page to start on 2017-02-17 18:00:13 -06:00
Phxntxm
342cd04db8 Updated debug to use environment variables, and not require any code blocks 2017-02-17 13:52:25 -06:00
Phxntxm
dd0cced626 Corrected issue where a difference in imported packages caused a method to not be found 2017-02-17 13:48:45 -06:00
phxntxm
bfe4b85dc2 Corrected issue where a find and replace replaced something unintional 2017-02-13 02:06:56 -06:00
phxntxm
e3826ce3aa Merge branch 'master' of https://github.com/Phxntxm/Bonfire 2017-02-13 02:01:50 -06:00
Phxntxm
edf9d9a587 Used the jpeg conversion method, since some browsers do not have webp compatibility 2017-02-12 20:33:57 -06:00
Phxntxm
a124eaf89a Added a method to convert images to jpeg 2017-02-12 20:33:24 -06:00
Phxntxm
91ff56f621 Fixed botched find+replace 2017-02-12 20:25:56 -06:00
Phxntxm
599d8feb3a How the hell did that get in there? 2017-02-12 20:22:37 -06:00
Phxntxm
e45f787077 Catch exception when we cannot paginate 2017-02-12 17:58:27 -06:00
Phxntxm
04c07fc08c Use the full utils package instead of importing each individually 2017-02-12 17:45:19 -06:00
Phxntxm
f9ce8ef85e Added an exception catch for when permissions aren't given to the bot for pagination 2017-02-12 17:36:11 -06:00