Ajout command handler et premier module (ping)

This commit is contained in:
2019-05-22 22:04:37 +02:00
parent 0bce99f0c1
commit 94323b7f89
3 changed files with 109 additions and 14 deletions

View File

@ -0,0 +1,14 @@
using Discord.Commands;
using System.Threading.Tasks;
namespace Sean.Modules
{
public class PingModule : ModuleBase<SocketCommandContext>
{
#region Methods
[Command("ping")]
[Summary("Ping pong !")]
public Task PongAsync() => ReplyAsync("Pong !");
#endregion Methods
}
}