Black format
This commit is contained in:
parent
c529d792e6
commit
7f8d0f13f7
@ -25,4 +25,4 @@ else:
|
||||
|
||||
# TODO: Get the game for context without making a new one
|
||||
# TODO: Get player from game based on either ID or member object
|
||||
return target
|
||||
return target
|
||||
|
@ -44,4 +44,6 @@ class Player:
|
||||
)
|
||||
except AttributeError:
|
||||
log.exception("Someone messed up and added a bot to the game (I think)")
|
||||
await self.role.game.village_channel.send("Someone messed up and added a bot to the game :eyes:")
|
||||
await self.role.game.village_channel.send(
|
||||
"Someone messed up and added a bot to the game :eyes:"
|
||||
)
|
||||
|
@ -137,7 +137,9 @@ class Werewolf(Cog):
|
||||
await ctx.maybe_send_embed("Category not found")
|
||||
return
|
||||
await self.config.guild(ctx.guild).category_id.set(category.id)
|
||||
await ctx.maybe_send_embed("Game Channel Category has been set to **{}**".format(category.name))
|
||||
await ctx.maybe_send_embed(
|
||||
"Game Channel Category has been set to **{}**".format(category.name)
|
||||
)
|
||||
|
||||
@commands.guild_only()
|
||||
@wwset.command(name="channel")
|
||||
@ -150,7 +152,9 @@ class Werewolf(Cog):
|
||||
await ctx.maybe_send_embed("Cleared Game Channel")
|
||||
else:
|
||||
await self.config.guild(ctx.guild).channel_id.set(channel.id)
|
||||
await ctx.maybe_send_embed("Game Channel has been set to **{}**".format(channel.mention))
|
||||
await ctx.maybe_send_embed(
|
||||
"Game Channel has been set to **{}**".format(channel.mention)
|
||||
)
|
||||
|
||||
@commands.guild_only()
|
||||
@wwset.command(name="logchannel")
|
||||
@ -163,7 +167,9 @@ class Werewolf(Cog):
|
||||
await ctx.maybe_send_embed("Cleared Game Log Channel")
|
||||
else:
|
||||
await self.config.guild(ctx.guild).log_channel_id.set(channel.id)
|
||||
await ctx.maybe_send_embed("Game Log Channel has been set to **{}**".format(channel.mention))
|
||||
await ctx.maybe_send_embed(
|
||||
"Game Log Channel has been set to **{}**".format(channel.mention)
|
||||
)
|
||||
|
||||
@commands.group()
|
||||
async def ww(self, ctx: commands.Context):
|
||||
|
Loading…
x
Reference in New Issue
Block a user