Update comments after # type: ignore to be compatible with PEP 484

This commit is contained in:
jack1142 authored and GitHub committed 2022-03-27 22:26:34 -04:00
1 parent 0bcb0d0e3c
commit 5ffa3e85de
25 files changed
+68 -68

No files matched your search

+1 -1
View File
@@ -600,7 +600,7 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
from .webhook import Webhook
if avatar is not None:
avatar = utils._bytes_to_base64_data(avatar) # type: ignore - Silence reassignment error
avatar = utils._bytes_to_base64_data(avatar) # type: ignore # Silence reassignment error
data = await self._state.http.create_webhook(self.id, name=str(name), avatar=avatar, reason=reason)
return Webhook.from_state(data, state=self._state)