Update comms.py

Added two f's to make proper fatrings
This commit is contained in:
homeofpoe 2023-11-01 09:48:09 -07:00 committed by GitHub
parent 900993ab92
commit 23dea59c57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1275,7 +1275,7 @@ class CmdChannel(COMMAND_DEFAULT_CLASS):
target = caller.search(target_str, candidates=banlists)
if not target:
self.msg("Could not find a banned user '{target_str}' in given channel(s).")
self.msg(f"Could not find a banned user '{target_str}' in given channel(s).")
return
for chan in channels:
@ -1801,7 +1801,7 @@ class CmdRSS2Chan(COMMAND_DEFAULT_CLASS):
# re-use existing bot
bot = bot[0]
if not bot.is_bot:
self.msg("Account '{botname}' already exists and is not a bot.")
self.msg(f"Account '{botname}' already exists and is not a bot.")
return
else:
# create a new bot