mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-06-02 18:45:17 +12:00
i think atom pranked me
This commit is contained in:
parent
675c9251a2
commit
efbefebe5f
|
@ -318,7 +318,6 @@ class Scheduler(commands.Cog):
|
||||||
# explain: mypy assumes this is always true, but other CCs using this API may not be using mypy.
|
# explain: mypy assumes this is always true, but other CCs using this API may not be using mypy.
|
||||||
if not (isinstance(author, discord.Member) and isinstance(channel, discord.TextChannel)): # type: ignore
|
if not (isinstance(author, discord.Member) and isinstance(channel, discord.TextChannel)): # type: ignore
|
||||||
raise TypeError(
|
raise TypeError(
|
||||||
raise Tya fupeError(
|
|
||||||
"Must provide guild specific discord.py models for both author and channel"
|
"Must provide guild specific discord.py models for both author and channel"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue