Commit Graph

31 Commits

Author SHA1 Message Date
Grey Himmel
07eeb3085b Remove question mark reaction (#86)
* Update __init__.py

Setting `do_query_message` to accept full payload

* Update proxy.py

Adding code to remove question mark reaction after sending the message card

* Update proxy.py

Fixing type declaration in recent changes

* Fixing message grab

Getting the channel the reaction was handled in and changing the `fetch_message` call to grab from the channel

* Adding back pronouns option

Not sure why it was removed, honestly

* Fixing issues caused by PK using an outdated version of the lib. Whoops :')
2019-05-03 08:10:46 +02:00
Ske
6c3c6eae4d Add viewing member pronouns on message query. Closes #73. 2019-04-14 22:22:53 +02:00
Ske
c37e7f4ee1 Add message querying by reaction 2019-03-30 18:11:53 +01:00
Ske
5a6b6c073b Whoops pt. something 2019-03-08 15:42:20 +01:00
Ske
c620c53cf0 Remove old workarounds pt. 2 2019-03-08 15:41:37 +01:00
Ske
83b00ee029 Webhook workarounds no longer necessary 2019-03-08 15:40:21 +01:00
Ske
f174ce9a03 Add delay of 0.5 seconds before deleting original 2019-02-26 13:44:29 +01:00
Ske
e1e4e68203 Add more aggressive permission error notification. 2019-02-16 19:10:35 +01:00
Ske
3382ca2862 Fix Discord throwing errors on members named "Clyde"
This adds a hair-space (\u200A) between the C and the l,
which won't trigger their check for the name. Discord
throws this error because their built-in "status bot"
used in the client is named Clyde.
2018-12-15 19:56:59 +01:00
Ske
478f96770b A few help/error changes 2018-12-09 16:33:57 +01:00
Ske
72590ec92c Massive refactor/update/UX improvement dump. Closes #6. 2018-12-05 11:44:10 +01:00
Ske
c36a054519 Add proxy permission errors, refactor proxy matching, change member name length error handling. Closes #25. 2018-11-30 21:42:01 +01:00
Ske
4337430823 Check for an existing webhook made by the bot first.
Otherwise, it'd create a new one and in case of failures or database corruptions,
you'd hit the webhook limit quickly.

This was a feature pre-rewrite but got lost in translation.
2018-11-30 20:39:10 +01:00
Ske
869f686bd5 Fix proxied messages with no system tag 2018-11-13 17:27:47 +01:00
Ske
3e5357d27f Whoops pt. 2 2018-11-13 14:01:24 +01:00
Ske
b4c45a7722 Whoops 2018-11-13 13:18:41 +01:00
Ske
f4512fc7e9 Various bug fixes 2018-11-08 16:25:58 +01:00
Ske
3fca071c1d Count all-blank strings as empty for the purposes of proxy validation 2018-11-08 15:47:21 +01:00
Ske
899183f26d Fix special case where webhook is deleted by user 2018-10-27 23:34:50 +02:00
Ske
a4449ceaae Remove commented-out old code 2018-10-27 23:31:45 +02:00
Ske
58d8927380 Message and error logging, various bugfixes 2018-10-27 23:30:12 +02:00
Ske
4217d5d5d8 Basic proxy functionality fixed 2018-10-27 22:00:41 +02:00
Ske
7636a48d14 Sanitize @everyone and @here in proxied messages 2018-10-23 01:14:33 +02:00
Ske
2f728e09aa Remove unsupported Influx/Grafana analytics code 2018-10-11 11:23:20 +02:00
Ske
d45f285a98 Log sender ID to log channel too 2018-09-23 17:15:54 +02:00
Ske
ca662bd502 Stop logging message contents in the database for privacy reasons. Please remove the 'content' column in the 'messages' table: 2018-09-16 13:59:37 +02:00
Ske
f067485e88 Major command handling refactor 2018-09-07 17:34:38 +02:00
Ske
a130e2215a Move stats stuff into its own class. Closes #1 2018-09-01 19:12:33 +02:00
Ske
034f7816e4 Remember to await webhook stat submission 2018-07-25 23:07:38 +02:00
Ske
d81dadefa4 Remember to send webhook stats to Influx post-refactor 2018-07-24 22:55:41 +02:00
Ske
8936029dc8 Massive refactor of pretty much everything in the bot 2018-07-24 22:49:52 +02:00