diff --git a/commands.go b/commands.go index 6f467a8..e23c7a3 100644 --- a/commands.go +++ b/commands.go @@ -52,7 +52,7 @@ type CommandEvent struct { // Reply sends a reply to command as notice func (ce *CommandEvent) Reply(msg string) { - _, err := ce.Bot.SendNotice(string(ce.RoomID), msg) + _, err := ce.Bot.SendNotice(string(ce.User.ManagementRoom), msg) if err != nil { ce.Handler.log.Warnfln("Failed to reply to command from %s: %v", ce.User.MXID, err) }