mirror of
https://github.com/oliverbooth/VpSharp
synced 2024-11-14 16:45:41 +00:00
14 lines
302 B
C#
14 lines
302 B
C#
|
using VpSharp.Commands;
|
|||
|
using VpSharp.Commands.Attributes;
|
|||
|
|
|||
|
namespace VpSharp.CSharp_Sample;
|
|||
|
|
|||
|
public class SayCommand : CommandModule
|
|||
|
{
|
|||
|
[Command("say")]
|
|||
|
public async Task SayAsync(CommandContext context, [Remainder] string message)
|
|||
|
{
|
|||
|
await context.RespondAsync(message);
|
|||
|
}
|
|||
|
}
|