Delete old message
This commit is contained in:
parent
71f1f6708b
commit
33429f2a20
@ -101,6 +101,9 @@ func UpdatePanel(ctx *gin.Context) {
|
|||||||
ctx.JSON(500, utils.ErrorJson(err))
|
ctx.JSON(500, utils.ErrorJson(err))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Delete old panel
|
||||||
|
_ = rest.DeleteMessage(botContext.Token, botContext.RateLimiter, multiPanel.ChannelId, multiPanel.MessageId)
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if we need to update the message
|
// check if we need to update the message
|
||||||
|
Loading…
x
Reference in New Issue
Block a user