Format Python code with psf/black push

github-actions 2 years ago
parent 6c58872db6
commit 31df519cf5

@ -794,7 +794,9 @@ class GPT3ComCon(discord.Cog, name="GPT3ComCon"):
else:
for mention in discord.utils.raw_mentions(message):
try:
user = await discord.utils.get_or_fetch(ctx.guild, 'member', mention)
user = await discord.utils.get_or_fetch(
ctx.guild, "member", mention
)
message = message.replace(f"<@{str(mention)}>", user.display_name)
except:
pass

Loading…
Cancel
Save