1
0
mirror of https://github.com/oliverbooth/VpSharp synced 2024-11-26 05:18:47 +00:00
VpSharp/Samples/VpSharp.CSharp_Sample/SayCommand.cs

14 lines
302 B
C#
Raw Normal View History

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