mirror of
https://github.com/idanoo/gomatrixbot
synced 2025-07-22 16:39:11 +00:00
Fix
This commit is contained in:
parent
b492111b82
commit
81e8f37461
1 changed files with 1 additions and 0 deletions
|
@ -125,6 +125,7 @@ func (mtrx *MtrxClient) handleCommand(ctx context.Context, evt *event.Event) {
|
|||
return
|
||||
case ".reloadallpics":
|
||||
mtrx.db.DeleteAllPics()
|
||||
mtrx.pics = make(map[int64]string, 0)
|
||||
mtrx.UpdatePics()
|
||||
mtrx.sendMessage(ctx, evt.RoomID, "Reset all pictures")
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue