2017-04-12 21:49:04 +02:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using Discord.Commands;
|
|
|
|
|
|
|
|
|
|
namespace Geekbot.net.Modules
|
|
|
|
|
{
|
|
|
|
|
public class Ping : ModuleBase
|
|
|
|
|
{
|
|
|
|
|
[Command("ping"), Summary("Pong.")]
|
|
|
|
|
public async Task Say()
|
|
|
|
|
{
|
2017-04-17 16:58:48 +02:00
|
|
|
|
await Task.Delay(5000);
|
2017-04-12 21:49:04 +02:00
|
|
|
|
await ReplyAsync("Pong");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|