-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: some experimental stuff
- Loading branch information
Showing
11 changed files
with
169 additions
and
481 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
using DisCatSharp.Enums.Core; | ||
|
||
namespace DisCatSharp.Entities.Core; | ||
|
||
/// <summary> | ||
/// Interface for various command types like slash commands, user commands, message commands, text commands, etc. | ||
/// </summary> | ||
internal interface IDisCatSharpCommand | ||
{ | ||
/// <summary> | ||
/// Gets the id of the user who executes this command. | ||
/// </summary> | ||
ulong UserId { get; internal set; } | ||
|
||
/// <summary> | ||
/// Gets the id of the channel this command gets executed in. | ||
/// </summary> | ||
ulong ChannelId { get; internal set; } | ||
|
||
/// <summary> | ||
/// Gets the id of the guild this command gets executed in. | ||
/// </summary> | ||
ulong? GuildId { get; internal set; } | ||
|
||
/// <summary> | ||
/// Gets the id of the member who executes this command. | ||
/// </summary> | ||
ulong? MemberId { get; internal set; } | ||
|
||
/// <summary> | ||
/// Gets the id of the command. | ||
/// </summary> | ||
ulong? CommandId { get; internal set; } | ||
|
||
/// <summary> | ||
/// Gets the name of the command if <see cref="CommandId"/> is not available. | ||
/// </summary> | ||
string? CommandName { get; internal set; } | ||
|
||
/// <summary> | ||
/// Gets the type of the command. | ||
/// </summary> | ||
DisCatSharpCommandType CommandType { get; internal set; } | ||
|
||
/// <summary> | ||
/// Gets the command grouping type of the command. | ||
/// </summary> | ||
DisCatSharpCommandGroupingType CommandGroupingType { get; internal set; } | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.