pull/147/head
bobloy 4 years ago
parent 61049c2343
commit 029b6a51b1

@ -34,4 +34,7 @@ class Player:
try: try:
await self.member.send(message) # Lets do embeds later await self.member.send(message) # Lets do embeds later
except discord.Forbidden: except discord.Forbidden:
await self.role.game.village_channel.send(f"Couldn't DM {self.mention}, uh oh", allowed_mentions=discord.AllowedMentions(users=[self.member])) await self.role.game.village_channel.send(
f"Couldn't DM {self.mention}, uh oh",
allowed_mentions=discord.AllowedMentions(users=[self.member]),
)

Loading…
Cancel
Save