Skip to content

Commit

Permalink
please the python interpreter that somehow can't understand this one …
Browse files Browse the repository at this point in the history
…line of code (HOW)
  • Loading branch information
Starlii10 committed Aug 17, 2024
1 parent e7d617b commit 91b8922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ async def log(message, sendToLogChannel=True, severity=logging.INFO):
try:
if sendToLogChannel:
if severity == logging.ERROR:
await bot.get_channel(logChannel).send(f"<@{config["General"]["Owner"]}> " + message)
await bot.get_channel(logChannel).send("<@" + config["General"]["Owner"] + "> " + message)
else:
await bot.get_channel(logChannel).send(message)
except:
Expand Down

0 comments on commit 91b8922

Please sign in to comment.