1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-05-04 21:16:29 +03:00

Initial commit

This commit is contained in:
l1ttleO 2021-12-07 17:52:37 +05:00
commit 3fa19a4794
Signed by: Octol1ttle
GPG key ID: B77C34313AEE1FFF
8 changed files with 124 additions and 0 deletions

View file

@ -0,0 +1,12 @@
using Discord.Commands;
namespace Boyfriend.Commands;
public class PingModule : ModuleBase<SocketCommandContext> {
[Command("ping")]
[Summary("Измеряет время обработки REST-запроса")]
[Alias("пинг")]
public async Task Run()
=> await ReplyAsync(Utils.GetBeep() + Boyfriend.Client.Latency + "мс");
}