mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-13 09:10:14 +00:00
fix interactions in DMs
This commit is contained in:
parent
a8727f474b
commit
def39b7bc5
3 changed files with 5 additions and 4 deletions
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue