Ejemplo n.º 1
0
        public async Task Ping(params string[] _)
        {
            int latency = (int)new DateTimeOffset(DateTime.UtcNow).Subtract(Context.Message.CreatedAt).TotalMilliseconds;
            await p.DoAction(Context.User, Context.Guild.Id, Program.Module.Information);

            await ReplyAsync(Sentences.Latency(Context.Guild.Id) + " " + latency + Sentences.MsStr(Context.Guild.Id));
        }