We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8090c4c commit 04a35beCopy full SHA for 04a35be
src/TiuSharpBot/Modules/MiscModule.cs
@@ -155,6 +155,16 @@ public async Task Leaderboard([Summary("The public code of the dream.lo leaderbo
155
}
156
157
158
+ [Command("ping")]
159
+ [Summary("Displays the current latency of the bot.")]
160
+ public async Task GetLatencyAsync()
161
+ {
162
+ var message = await ReplyAsync("ℹ️ | Pong!");
163
+ await message.ModifyAsync(x =>
164
165
+ x.Content = $"ℹ️ | Pong! - Time taken: **{message.Timestamp - Context.Message.Timestamp:fff}ms**";
166
+ });
167
+ }
168
169
[Command("face"), Summary("Generate a face from https://thispersondoesnotexist.com/")]
170
public async Task ThisPersonDoesNotExists() =>
0 commit comments