mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-21 16:52:31 -05:00
Reformat with Black 22.1.0
This commit is contained in:
@@ -645,7 +645,6 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
||||
)
|
||||
|
||||
async def get_serious_confirmation(self, ctx: commands.Context, prompt: str) -> bool:
|
||||
|
||||
confirm_token = "".join(random.choices((*ascii_letters, *digits), k=8))
|
||||
|
||||
await ctx.send(f"{prompt}\n\n{confirm_token}")
|
||||
@@ -4002,9 +4001,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
||||
)
|
||||
else:
|
||||
successful = True
|
||||
|
||||
else:
|
||||
|
||||
msg_text = "{}\nMessage:\n\n{}\n{}".format(description, message, footer)
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user