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

1297 commits

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