mirror of
https://github.com/logos-storage/logos-storage-nim-cs-dist-tests.git
synced 2026-01-09 08:53:13 +00:00
17 lines
492 B
C#
17 lines
492 B
C#
using Discord.WebSocket;
|
|
|
|
namespace BiblioTech.TokenCommands
|
|
{
|
|
public class ShowIdCommand : BaseCommand
|
|
{
|
|
public override string Name => "my-id";
|
|
public override string StartingMessage => "...";
|
|
public override string Description => "Shows you your Discord ID. (Useful for admins)";
|
|
|
|
protected override async Task Invoke(SocketSlashCommand command)
|
|
{
|
|
await command.FollowupAsync("Your ID: " + command.User.Id);
|
|
}
|
|
}
|
|
}
|