|
@@ -1,3 +1,5 @@ |
|
|
|
|
|
using System.Threading.Tasks; |
|
|
|
|
|
|
|
|
namespace Discord.Interactions |
|
|
namespace Discord.Interactions |
|
|
{ |
|
|
{ |
|
|
/// <summary> |
|
|
/// <summary> |
|
@@ -12,10 +14,22 @@ namespace Discord.Interactions |
|
|
void SetContext (IInteractionContext context); |
|
|
void SetContext (IInteractionContext context); |
|
|
|
|
|
|
|
|
/// <summary> |
|
|
/// <summary> |
|
|
|
|
|
/// Method body to be executed asynchronously before executing an application command. |
|
|
|
|
|
/// </summary> |
|
|
|
|
|
/// <param name="command">Command information related to the Discord Application Command.</param> |
|
|
|
|
|
Task BeforeExecuteAsync(ICommandInfo command); |
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
/// Method body to be executed before executing an application command. |
|
|
/// Method body to be executed before executing an application command. |
|
|
/// </summary> |
|
|
/// </summary> |
|
|
/// <param name="command">Command information related to the Discord Application Command.</param> |
|
|
/// <param name="command">Command information related to the Discord Application Command.</param> |
|
|
void BeforeExecute (ICommandInfo command); |
|
|
|
|
|
|
|
|
void BeforeExecute(ICommandInfo command); |
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
|
/// Method body to be executed asynchronously after an application command execution. |
|
|
|
|
|
/// </summary> |
|
|
|
|
|
/// <param name="command">Command information related to the Discord Application Command.</param> |
|
|
|
|
|
Task AfterExecuteAsync(ICommandInfo command); |
|
|
|
|
|
|
|
|
/// <summary> |
|
|
/// <summary> |
|
|
/// Method body to be executed after an application command execution. |
|
|
/// Method body to be executed after an application command execution. |
|
|