geekbot/Geekbot.net/Modules/Ping.cs

15 lines
308 B
C#
Raw Normal View History

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