1
0
mirror of https://github.com/oliverbooth/VpSharp synced 2024-11-09 23:35:41 +00:00
VpSharp/Samples/VpSharp.CSharp_Sample/SayCommand.cs

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);
}
}