fix missing await in friendcode.py
@@ -54,7 +54,7 @@ class FriendCode(DatabaseCog):
for row_m in rows_m:
await ctx.send(f"{member.mention} friend code is {self.fc_to_string(row_m[1])}")
try:
- member.send(f"{ctx.author} has asked for your friend code! Their code is {self.fc_to_string(row[1])}.")
+ await member.send(f"{ctx.author} has asked for your friend code! Their code is {self.fc_to_string(row[1])}.")
except discord.errors.Forbidden:
pass # don't fail in case user has DMs disabled for this server, or blocked the bot
return
