Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
staciax committed Dec 6, 2024
1 parent a303269 commit 3e9a93d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lattebot/core/cog.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
type Coro[T] = Coroutine[Any, Any, T]
type Binding = Group | commands.Cog
type ContextMenuCallback[GroupT: Binding] = (
Callable[[GroupT, 'Interaction[LatteBot]', Member], Coro[Any]]
| Callable[[GroupT, 'Interaction[LatteBot]', User], Coro[Any]]
| Callable[[GroupT, 'Interaction[LatteBot]', Message], Coro[Any]]
| Callable[[GroupT, 'Interaction[LatteBot]', Member | User], Coro[Any]]
Callable[[GroupT, Interaction[LatteBot], Member], Coro[Any]]
| Callable[[GroupT, Interaction[LatteBot], User], Coro[Any]]
| Callable[[GroupT, Interaction[LatteBot], Message], Coro[Any]]
| Callable[[GroupT, Interaction[LatteBot], Member | User], Coro[Any]]
)
else:
type ContextMenuCallback[T] = Callable[..., Coro[T]]
Expand Down

0 comments on commit 3e9a93d

Please sign in to comment.