Info and black formatting

bangame-develop
bobloy 6 years ago
parent 2dfb757fbd
commit 9d6ff768f1

@ -35,7 +35,11 @@ class BanGame(Cog):
do_ban = not self.config.guild(ctx.guild).do_ban() do_ban = not self.config.guild(ctx.guild).do_ban()
await self.config.guild(ctx.guild).do_ban.set(do_ban) await self.config.guild(ctx.guild).do_ban.set(do_ban)
await ctx.send("Members will now be {} for playing a banned game".format("Banned" if do_ban else "Kicked")) await ctx.send(
"Members will now be {} for playing a banned game".format(
"Banned" if do_ban else "Kicked"
)
)
@bangame.command(name="add") @bangame.command(name="add")
@checks.mod_or_permissions(administrator=True) @checks.mod_or_permissions(administrator=True)

@ -7,15 +7,14 @@
0, 0,
0 0
], ],
"description": "Assign roles to be exclusive, preventing other roles from being added", "description": "Kick or ban members that play a banned game",
"hidden": false, "hidden": false,
"install_msg": "Thank you for installing ExclusiveRole. Get started with `[p]load exclusiverole` and `[p]help ExclusiveRole`", "install_msg": "Thank you for installing BanGame. Get started with `[p]load bangame` and `[p]help BanGame`",
"short": "Set roles to be exclusive", "short": "Ban games",
"tags": [ "tags": [
"fox", "fox",
"bobloy", "bobloy",
"utility", "utility",
"tools", "tools"
"roles"
] ]
} }
Loading…
Cancel
Save