19 lines
435 B
C#
19 lines
435 B
C#
using DSharpPlus.CommandsNext;
|
|
using DSharpPlus.CommandsNext.Attributes;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace T3k3rg0.Commands
|
|
{
|
|
public class Hello : BaseCommandModule
|
|
{
|
|
[Command("hello")]
|
|
[Description("Beköszönés. Hello World")]
|
|
[HasAdminRole]
|
|
public async Task HelloCommand(CommandContext ctx)
|
|
{
|
|
await ctx.RespondAsync($"Szia! T3kerg0 vagyok!");
|
|
}
|
|
|
|
}
|
|
}
|
|
|