diff --git a/youmubot-prelude/src/pagination.rs b/youmubot-prelude/src/pagination.rs index e41944d..77ed411 100644 --- a/youmubot-prelude/src/pagination.rs +++ b/youmubot-prelude/src/pagination.rs @@ -117,6 +117,12 @@ impl PaginationHandler { } } +impl Drop for PaginationHandler { + fn drop(&mut self) { + self.message.react(&self.ctx, "🛑").ok(); + } +} + impl ReactionHandler for PaginationHandler { fn handle_reaction(&mut self, reaction: &Reaction, _is_add: bool) -> CommandResult { if reaction.message_id != self.message.id {