mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Fix some webhook related type checker errors
This commit is contained in:
1 parent
0dd4c4c08c
commit
fc66c5b92d
3 files changed
+7
-5
No files matched your search
+1
-1
@@ -109,7 +109,7 @@ class File:
|
||||
|
||||
self.spoiler = spoiler or (self.filename is not None and self.filename.startswith('SPOILER_'))
|
||||
|
||||
def reset(self, *, seek: bool = True) -> None:
|
||||
def reset(self, *, seek: Union[int, bool] = True) -> None:
|
||||
# The `seek` parameter is needed because
|
||||
# the retry-loop is iterated over multiple times
|
||||
# starting from 0, as an implementation quirk
|
||||
|
||||
Reference in new issue
Block a user