Commit Graph

60 Commits

Author SHA1 Message Date
Ske
f18a78b59c Ignore broken pipe and dropped connection exceptions 2020-12-26 13:18:31 +01:00
Astrid
6e39eb7a96
Merge pull request #258 from dev-kittens/feat/member-group
Group improvements
2020-12-08 12:19:56 +01:00
spiral
fde7e4d3cc
Move group add/remove response text logic into MiscUtils 2020-11-22 23:11:34 -05:00
spiral
05f1ee92ea
DRY-ify checking URL length for avatars 2020-11-22 15:43:38 -05:00
Ske
0ac180c4e6 Filter Discord 500s out 2020-11-16 09:05:00 +01:00
Ske
634173e205 Update to D#+ 4.0.0-rc1 2020-11-15 13:53:31 +01:00
Astrid
17c3640fd3
Merge branch 'main' into confirm-clear 2020-10-23 11:14:36 +02:00
dev-kittens
86ed2b1add
Fix -yes flag matching on linking other accounts 2020-10-20 06:33:35 -05:00
Ske
9282d5e9fb Add some more resiliency to DB errors 2020-10-14 23:35:10 +02:00
dev-kittens
dfacbc51ab Confirm before clearing (most) entity properties 2020-10-04 08:53:07 +00:00
Ske
8d27148bdf More updates to event infrastructure 2020-08-27 18:20:20 +02:00
Ske
203dbc65a1 Replace most "code-escaped" literals with properly-escaping helpers 2020-08-25 22:44:52 +02:00
Ske
2794919728 Use "smart references" for member commands 2020-08-25 22:33:04 +02:00
acw0
dd3b87cb23 use guild ID instead of channel ID in GetChannel 2020-08-13 04:27:44 -04:00
kittens
2d9111727d
Use unicode escape sequence for less confusion 2020-08-12 11:05:11 -04:00
kittens
26418871ad
Fix doubleBacktick replacing 2020-08-12 10:51:59 -04:00
acw0
56e4f1c00c Create methods to find guilds and channels in cache 2020-07-22 04:07:18 -04:00
Ske
5d3e159f54 Properly block pinging normally unmentionable roles 2020-07-22 01:06:25 +02:00
kittens
fd0e46f40d
Add -yes flag to CheckYesNo (#198) 2020-07-21 02:10:26 +02:00
Ske
e7f95c9ba6 Potential fix for concurrent list modification error 2020-07-14 22:24:13 +02:00
Ske
17826246f2 Fix fuzzy log cleaning matching all messages. Closes #195.
I got the bitshift the wrong way 'round.
2020-07-10 16:47:30 +02:00
Ske
ba48f22ad2 Break proxied links if the sender doesn't have embed permission 2020-07-10 16:35:52 +02:00
Ske
467b95b1b1 Refactor and simplify member list code 2020-07-07 20:57:22 +02:00
Ske
f03bab303c Explicitly error if the URI schema is wrong 2020-07-05 13:19:43 +02:00
BeeFox-sys
55ea314b42
Fix: Escape Backticks (#192) 2020-07-05 12:55:21 +02:00
Ske
c87e67245d Create GetXXX utils wrapping try blocks 2020-07-02 18:29:04 +02:00
Ske
472e556ef0 Pass proper allowed_mentions when sending webhook messages 2020-06-28 20:26:14 +02:00
Ske
3e297178c7 Hopefully fix user cache error in ReactionAdd 2020-06-24 16:47:34 +02:00
Ske
34f4ff4e1b Upgrade DSharpPlus version to 4.0.0-nightly-00707
This fixes passing an empty mention array to SendMessageAsync, making our workaround obsolete
2020-06-21 15:11:18 +02:00
Ske
378c49cb20 Remove 60+ (whew) SanitizeMentions() calls 2020-06-20 17:36:03 +02:00
Ske
2c35649ef0 Use AllowedMentions to disable mentions everywhere by default 2020-06-20 17:33:10 +02:00
Ske
ff7b728762 Merge branch 'feature/granular-privacy' 2020-06-20 16:25:08 +02:00
Ske
ae4e8f97d0 Add member avatar privacy 2020-06-20 16:00:50 +02:00
Ske
7e8e1f1b8c Don't try paginating with empty results 2020-06-18 17:40:51 +02:00
Ske
56eae82b0a Move most references to PKMember.Name to go through helper extepsions for privacy 2020-06-18 17:08:36 +02:00
Ske
7fde54050a Avoid a blank overflow page when showing paginated cards (closes #171) 2020-06-15 13:00:28 +02:00
Ske
2702c45b4f General bits of cleanup 2020-06-13 22:20:24 +02:00
Ske
dee229b08c Ignore weird Nginx errors from Discord 2020-05-12 22:19:33 +02:00
Ske
8ea02dae81 Add more error reporting for Discord errors 2020-05-12 21:26:37 +02:00
Fennel
8467f4f681 Add workaround for DSP internal member cache error 2020-05-10 18:44:59 -04:00
Ske
cb8234b272 Restructure message info embed queries
This fixes several long-standing issues wrt. handling of senders that are no longer on the server and deleted accounts, as well as an error handling issue caused by the DSharpPlus migration.
2020-05-08 00:57:17 +02:00
Ske
53582997f0 Ignore CloudFlare error response parsing errors 2020-05-07 23:59:05 +02:00
Ske
892601110f Temporary workaround for https://github.com/DSharpPlus/DSharpPlus/issues/565 2020-05-05 19:10:33 +02:00
Ske
2579683da9 Refactor interactive event handlers 2020-05-05 16:03:46 +02:00
Ske
ee9c87a29f Refactor permission utils to properly account for lack of channel access 2020-05-02 16:25:17 +02:00
Ske
f97ceac1fb Refactor Sentry scope enrichment 2020-05-02 16:00:43 +02:00
Ske
3fd89c1a45 Refactor TryParseMention function to use regexes 2020-05-02 15:43:07 +02:00
Ske
720755844f Rename BotHasPermission to a more descriptive name 2020-05-02 15:29:36 +02:00
Ske
9fa36b78ff Fix the garish default D#+ colors 2020-04-29 00:25:01 +02:00
Ske
86b6a90b1c Add proper credit to MentionUtils 2020-04-29 00:06:40 +02:00