|
|
@ -97,11 +97,15 @@ class Extension: |
|
|
|
if "reason" in kwargs and user.id in self.no_reason: |
|
|
|
kwargs["reason"] = self.no_reason[user.id] |
|
|
|
del self.no_reason[user.id] |
|
|
|
if "profile" in kwargs: |
|
|
|
kwargs["profile"] = message.embeds[0].url |
|
|
|
|
|
|
|
#### |
|
|
|
if "requester_profile" in kwargs: |
|
|
|
kwargs["profile"] = message.embeds[0].author.url |
|
|
|
del kwargs["requester_profile"] |
|
|
|
elif "profile" in kwargs: |
|
|
|
kwargs["profile"] = message.embeds[0].url |
|
|
|
else: |
|
|
|
return await message.channel.send(content=f"невозможно получить профиль игрока из webhook") |
|
|
|
|
|
|
|
print(kwargs) |
|
|
|
|
|
|
|