about summary refs log tree commit diff
path: root/Bot/Commands/HelpCommand.cs
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-15 09:50:45 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-09-15 09:50:45 +0200
commitcc31b4a2bef780abaf496bff50ce5e7602d8a6e1 (patch)
treef25a87c79cdfeb853146c5312b8990f644c71eae /Bot/Commands/HelpCommand.cs
parentMedia moderator PoC works, abstract command handling to library (diff)
downloadLibMatrix.ExampleBot-cc31b4a2bef780abaf496bff50ce5e7602d8a6e1.tar.xz
Some refactoring
Diffstat (limited to 'Bot/Commands/HelpCommand.cs')
-rw-r--r--Bot/Commands/HelpCommand.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bot/Commands/HelpCommand.cs b/Bot/Commands/HelpCommand.cs

index 09c4e3f..c750130 100644 --- a/Bot/Commands/HelpCommand.cs +++ b/Bot/Commands/HelpCommand.cs
@@ -17,6 +17,6 @@ public class HelpCommand(IServiceProvider services) : ICommand { sb.AppendLine($"- {command.Name}: {command.Description}"); } - await ctx.Room.SendMessageEventAsync("m.room.message", new RoomMessageEventData(body: sb.ToString())); + await ctx.Room.SendMessageEventAsync("m.room.message", new RoomMessageEventContent(body: sb.ToString())); } }