Make HasResponded public and add it to IDiscordInteraction (#1994)

This commit is contained in:
Quin Lynch
2021-12-24 10:38:22 -04:00
committed by GitHub
parent ad20e03a98
commit 1fbcbb8a67
8 changed files with 31 additions and 66 deletions

View File

@@ -35,6 +35,15 @@ namespace Discord
/// </summary>
int Version { get; }
/// <summary>
/// Gets whether or not this interaction has been responded to.
/// </summary>
/// <remarks>
/// This property is locally set -- if you're running multiple bots
/// off the same token then this property won't be in sync with them.
/// </remarks>
bool HasResponded { get; }
/// <summary>
/// Gets the user who invoked the interaction.
/// </summary>