Client.on_poll()

Client.on_poll()

Decorator for handling poll updates.

This does the same thing as add_handler() using the PollHandler.

Parameters:
  • filters (filters, optional) – Pass one or more filters to allow only a subset of polls to be passed in your function.

  • group (int, optional) – The group identifier, defaults to 0.