This repository was archived by the owner on Mar 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ You can find more (and better) examples [here](https://github.com/discord-py-ui/
179179 <summary >4.3.7</summary >
180180
181181 ## ** Fixed**
182- - Issue with SLashOptions
182+ - Issue with SlashOptions
183183 > required is now false by default again
184184
185185 </details >
Original file line number Diff line number Diff line change @@ -150,7 +150,8 @@ async def on_connect():
150150 async def _on_slash_response (self , msg ):
151151 if discord .__version__ .startswith ("2" ):
152152 # comment decompressing out in canse it is needed in the future for some reason
153- # if isinstance(msg, bytes):
153+ if isinstance (msg , bytes ):
154+ raise NotImplementedError ("decompressing was removed! Please upgrade your discord.py version" )
154155 # try:
155156 # self._buffer.extend(msg)
156157 # if len(msg) < 4 or msg[-4:] != b'\x00\x00\xff\xff':
@@ -1307,7 +1308,8 @@ def remove_cog_override(*args, **kwargs):
13071308 async def _on_component_response (self , msg ):
13081309 if discord .__version__ .startswith ("2" ):
13091310 # disable deecompressing
1310- # if isinstance(msg, bytes):
1311+ if isinstance (msg , bytes ):
1312+ raise NotImplementedError ("decompressing was removed! Please upgrade your discord.py version" )
13111313 # self._buffer.extend(msg)
13121314
13131315 # if len(msg) < 4 or msg[-4:] != b'\x00\x00\xff\xff':
You can’t perform that action at this time.
0 commit comments