Skip to content

How do I use middleware with best practices. #1684

Closed

Description

@oceanm7n

I want to use a middleware to incorporate custom service logic into my bot, that requires it to stop processing a command if certain conditions are met.

How do I explicitly stop every message_handler decorator from processing a command if various conditions are met inside the middleware?

Activity

  1. Repository owner locked and limited conversation to collaborators on Aug 24, 2022
  2. converted this issue into a discussion #1685 on Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions