Browse Source

fix InteractionContext.Guild

pull/2014/head
Cenk Ergen 3 years ago
parent
commit
3ceba45ef6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Interactions/InteractionContext.cs

+ 1
- 1
src/Discord.Net.Interactions/InteractionContext.cs View File

@@ -26,7 +26,7 @@ namespace Discord.Interactions
Client = client;
Interaction = interaction;
Channel = channel;
Guild = (interaction as IGuildUser)?.Guild;
Guild = (user as IGuildUser)?.Guild;
User = user;
Interaction = interaction;
}


Loading…
Cancel
Save