From cc31b4a2bef780abaf496bff50ce5e7602d8a6e1 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Fri, 15 Sep 2023 09:50:45 +0200 Subject: Some refactoring --- Bot/Commands/HelpCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bot/Commands/HelpCommand.cs') 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())); } } -- cgit 1.5.1