|
|
@ -60,8 +60,7 @@ class QRInvite(Cog):
|
|
|
|
)
|
|
|
|
)
|
|
|
|
return
|
|
|
|
return
|
|
|
|
|
|
|
|
|
|
|
|
e = pathlib.Path(image_url).parts[-1].replace(".", "?").split("?")[1]
|
|
|
|
eextention = pathlib.Path(image_url).parts[-1].replace(".", "?").split("?")[1]
|
|
|
|
extention = str(e)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
path: pathlib.Path = cog_data_path(self)
|
|
|
|
path: pathlib.Path = cog_data_path(self)
|
|
|
|
image_path = path / (ctx.guild.icon + "." + extension)
|
|
|
|
image_path = path / (ctx.guild.icon + "." + extension)
|
|
|
|