mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 08:40:11 +00:00
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
This commit is contained in:
parent
24f1363bb0
commit
ba441a15cc
37 changed files with 554 additions and 398 deletions
|
|
@ -58,7 +58,7 @@ namespace PluralKit.Bot
|
|||
|
||||
private async ValueTask HandleDeleteReaction(MessageReactionAddEventArgs evt, FullMessage msg)
|
||||
{
|
||||
if (evt.Channel.BotHasAllPermissions(Permissions.ManageMessages)) return;
|
||||
if (!evt.Channel.BotHasAllPermissions(Permissions.ManageMessages)) return;
|
||||
|
||||
// Can only delete your own message
|
||||
if (msg.Message.Sender != evt.User.Id) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue