This commit is contained in:
Daniel Mason 2025-06-22 11:23:50 +12:00
parent 5bac56f38a
commit c9202bba05
Signed by: idanoo
GPG key ID: 387387CDBC02F132

View file

@ -204,6 +204,10 @@ func (mtrx *MtrxClient) handleCommand(ctx context.Context, evt *event.Event) {
} }
return return
case ".quake": case ".quake":
if len(args) < 2 {
mtrx.sendMessage(ctx, evt.RoomID, "usage: .quake <intensity 1-5>")
return
}
mtrx.checkForQuakes(ctx, evt.RoomID, args[1]) mtrx.checkForQuakes(ctx, evt.RoomID, args[1])
return return
case ".imdb": case ".imdb":