Skip to content

Commit

Permalink
Fix for <py311
Browse files Browse the repository at this point in the history
  • Loading branch information
nexy7574 committed Aug 3, 2024
1 parent e9ab248 commit 3ecfb56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/niobot/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ def list_commands(self) -> typing.Generator[Command, None, None]:
if hasattr(potential_command, "__nio_command__"):
yield potential_command.__nio_command__

def list_events(self) -> typing.Generator[..., None, None]: # I can't type this properly.
def list_events(self):
"""
Lists all the @event listeners registered in this module.
Expand Down

0 comments on commit 3ecfb56

Please sign in to comment.