diff options
author | Emma [it/its]@Rory& <root@rory.gay> | 2024-02-09 16:33:14 +0100 |
---|---|---|
committer | Emma [it/its]@Rory& <root@rory.gay> | 2024-02-09 16:33:14 +0100 |
commit | 163e2a94f600ffe0f982e3f605264ff2f2fe312b (patch) | |
tree | af8fb4c8c468dde726a4773b1304aa22c59186ac /Utilities/LibMatrix.Utilities.Bot/Commands/PingCommand.cs | |
parent | Apply syntax style to LibMatrix (diff) | |
download | LibMatrix-163e2a94f600ffe0f982e3f605264ff2f2fe312b.tar.xz |
Apply syntax style to LibMatrix side projects
Diffstat (limited to 'Utilities/LibMatrix.Utilities.Bot/Commands/PingCommand.cs')
-rw-r--r-- | Utilities/LibMatrix.Utilities.Bot/Commands/PingCommand.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Utilities/LibMatrix.Utilities.Bot/Commands/PingCommand.cs b/Utilities/LibMatrix.Utilities.Bot/Commands/PingCommand.cs index 16712ea..b5fb868 100644 --- a/Utilities/LibMatrix.Utilities.Bot/Commands/PingCommand.cs +++ b/Utilities/LibMatrix.Utilities.Bot/Commands/PingCommand.cs @@ -7,7 +7,5 @@ public class PingCommand : ICommand { public string Name { get; } = "ping"; public string Description { get; } = "Pong!"; - public async Task Invoke(CommandContext ctx) { - await ctx.Room.SendMessageEventAsync(new RoomMessageEventContent(body: "pong!")); - } -} + public async Task Invoke(CommandContext ctx) => await ctx.Room.SendMessageEventAsync(new RoomMessageEventContent(body: "pong!")); +} \ No newline at end of file |