Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Commit

Permalink
Strange Sourcery error
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeBizarre committed Jun 5, 2020
1 parent 301ac80 commit b9c5db1
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions main.py
Expand Up @@ -89,14 +89,14 @@ def mission_control(self) -> str:
else:
server_names = [i.name for i in self.bot.guilds]
return [
f'[------------------------STATUS------------------------]',
f"[------------------------STATUS------------------------]",
"Source: https://github.com/Aurexine/discord-bot",
f'Time: f"Time: {datetime.now()}"',
f'Version: f"Version: {VERSION}"',
f'Logged in as f"Logged in as {self.bot.user} ({self.bot.user.id})" (f"Logged in as {self.bot.user} ({self.bot.user.id})")',
f'Loaded plugins - f"Loaded plugins - {self.plugins}"',
f'Joined f"Joined {len(self.bot.guilds)} server(s) - {server_names}" server(s) - f"Joined {len(self.bot.guilds)} server(s) - {server_names}"',
f'[------------------------STATUS------------------------]',
f"Time: {datetime.now()}",
f"Version: {VERSION}",
f"Logged in as {self.bot.user} ({self.bot.user.id})",
f"Loaded plugins - {self.plugins}",
f"Joined {len(self.bot.guilds)} server(s) - {server_names}",
f"[------------------------STATUS------------------------]",
]

# Function to build an account level embed
Expand Down Expand Up @@ -738,7 +738,9 @@ async def cmd_plugins_reload(ctx: Context, name: str):
instance.plugins.append(name)

update_db(db, instance.plugins, "plugins")
await ctx.send(f":white_check_mark: Plugin {name}.py successfully loaded.")
await ctx.send(
f":white_check_mark: Plugin {name}.py successfully loaded."
)
except Exception as e:
exc = f"{type(e).__name__}, {e}"
await ctx.send(
Expand Down

0 comments on commit b9c5db1

Please sign in to comment.