commit
ef7a105299
1 changed files with 2 additions and 2 deletions
|
|
@ -1275,7 +1275,7 @@ class CmdChannel(COMMAND_DEFAULT_CLASS):
|
||||||
|
|
||||||
target = caller.search(target_str, candidates=banlists)
|
target = caller.search(target_str, candidates=banlists)
|
||||||
if not target:
|
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
|
return
|
||||||
|
|
||||||
for chan in channels:
|
for chan in channels:
|
||||||
|
|
@ -1801,7 +1801,7 @@ class CmdRSS2Chan(COMMAND_DEFAULT_CLASS):
|
||||||
# re-use existing bot
|
# re-use existing bot
|
||||||
bot = bot[0]
|
bot = bot[0]
|
||||||
if not bot.is_bot:
|
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
|
return
|
||||||
else:
|
else:
|
||||||
# create a new bot
|
# create a new bot
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue