spiral
b9f73cadb7
feat: proxy debug command
...
Co-authored-by: Spectralitree <72747870+Spectralitree@users.noreply.github.com>
2021-08-03 21:06:14 -04:00
spiral
25f96dd920
Fix Discord merging webhook messages with same username
...
Closes #33 .
2021-08-03 13:44:22 -04:00
spiral
a8727f474b
Allow any linked account to edit/delete messages sent by the same system
...
Closes #375 .
2021-07-27 11:39:37 -04:00
Ske
1f2b9f998d
Preliminary support for APIv9 and threads
2021-07-15 12:41:19 +02:00
spiral
afd8983abe
fix the rest of the conditionals
2021-07-08 12:45:59 -04:00
spiral
e620e30c10
Fix channel checks missing GuildNews
...
The log channel / logclean checks are left as-is; hopefully nobody is
using an announcements channel for their logs?
2021-07-08 09:17:35 -04:00
Ske
9e9eaa7450
Replace ping link embed with jump button
2021-06-11 18:17:08 +02:00
Ske
41f1c58a9f
Merge branch 'new-shard-handler'
2021-06-08 10:20:59 +02:00
Ske
118f2d49a6
WIP new shard implementation
2021-06-08 10:19:54 +02:00
Ske
d7c0592947
Add preliminary support for buttons
2021-05-26 22:27:52 +02:00
Ske
aa2a234f8d
Fix permission error on message edit handler
...
Signed-off-by: Ske <voltasalt@gmail.com>
2021-05-03 10:29:22 +02:00
spiral
cf93b8b3cc
fix: don't try matching commands if there is nothing to match
2021-05-01 19:18:04 +01:00
spiral
0acadee803
don't cache the full message
2021-03-22 07:17:10 +00:00
spiral
a7189fab8c
Fix handling replies in edited messages
2021-03-22 07:07:33 +00:00
Ske
3196f60093
Fix error on DMing with no permission
2021-03-18 11:38:28 +01:00
Ske
ccd12df996
Fix removing original reaction
2021-01-31 17:56:44 +01:00
Ske
80c572f594
Fix various bugs and regressions
2021-01-31 16:02:34 +01:00
Ske
0c1bb6cc6a
Convert message update handler
2021-01-31 14:42:28 +01:00
Ske
9079f1c59c
Port the DM stuff
2020-12-25 13:58:45 +01:00
Ske
f6fb8204bb
Add embed builder, some more ported classes
2020-12-23 02:19:02 +01:00
Ske
05334f0d25
Converted enough to send the system card
2020-12-22 16:55:13 +01:00
Ske
a6fbd869be
Initial commit, basic proxying working
2020-12-22 13:15:26 +01:00
spiral
37294b68da
Add disabling autoproxy per-account
2020-11-22 09:42:40 -05:00
Ske
feebbf657d
Add a short delay when deleting DB messages
2020-11-18 15:01:32 +01:00
Ske
c0c4871f0b
Fix cache error using log channel
2020-11-15 15:07:20 +01:00
Ske
634173e205
Update to D#+ 4.0.0-rc1
2020-11-15 13:53:31 +01:00
spiral
4aeda86d66
Fix deleting command messages by reaction in DMs
2020-11-04 11:30:00 -05:00
Ske
81cd5496d5
Refactor command message deletion
2020-10-23 12:18:28 +02:00
dev-kittens
56bb5e975f
Add handling command ❌ reactions
...
and, uhh, rename invoker_id to author_id
2020-10-18 00:59:36 -05:00
Ske
eab1cb1645
Ignore self-messages
2020-09-20 21:49:52 +02:00
Ske
20addea986
Ignore reactions on channels we don't have cached
2020-08-30 15:53:03 +02:00
Ske
c7612df37e
Major database refactor (again)
2020-08-29 13:46:27 +02:00
Ske
203dbc65a1
Replace most "code-escaped" literals with properly-escaping helpers
2020-08-25 22:44:52 +02:00
Ske
2206185d55
Add command prefix configuration
2020-08-25 19:32:19 +02:00
Ske
d749876796
Workaround for permission errors when removing reactions
2020-07-18 13:07:16 +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
e4d51b5198
Explicitly check for bot/WH users before running command handler
2020-06-26 01:49:51 +02:00
Ske
3e297178c7
Hopefully fix user cache error in ReactionAdd
2020-06-24 16:47:34 +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
8df42f7d92
Ignore bot reactions
2020-06-18 17:49:43 +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
ca882dba73
Add more performance metrics
2020-06-14 22:19:12 +02:00
Ske
c927967c3b
Migrate GetSystemById
2020-06-13 19:42:04 +02:00
Ske
90ac186183
Extract Database to interface
2020-06-13 19:36:43 +02:00
Ske
e176ccbab5
Several more database-y refactors
...
- DbConnectionFactory renamed to "Database", will now be the primary entry point for DB stuff
- Created IPKConnection interface mostly containing async extensions to IDbConnection, use this going forward
- Reworked the Connection/Command wrappers (that have performance/logging extensions)
- Probably more stuff that I forgot???
2020-06-13 18:31:20 +02:00
Ske
a915ddb41c
Extract system/member guild settings and refactor DB access
...
(also refactor MemberAvatar now that I'm here)
2020-06-13 16:03:57 +02:00
Ske
3d62a0d33c
Split message/proxy data up in MessageContext and ProxyMember
2020-06-12 23:13:21 +02:00
Ske
ba441a15cc
Too many refactors in one:
...
- Allowed adding ephemeral(ish) views and functions
- Moved message_count to a concrete database field
- Moved most proxy logic to a stored procedure
- Moved database files around and refactored schema manager
2020-06-12 20:29:50 +02:00