fix interactions in DMs
This commit is contained in:
@@ -80,7 +80,7 @@ namespace PluralKit.Bot
|
||||
MessageUpdateEvent e => e.Author.HasValue ? e.Author.Value.Id : null,
|
||||
MessageReactionAddEvent e => e.UserId,
|
||||
MessageReactionRemoveEvent e => e.UserId,
|
||||
InteractionCreateEvent e => e.Member.User.Id,
|
||||
InteractionCreateEvent e => e.User?.Id ?? e.Member.User.Id,
|
||||
_ => null,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user