Reduced & updated dependencies.
By default, messages larger than 2.000 characters (sent via tells) get sent via slaves, if these exist. Fixes #3
This commit is contained in:
@@ -141,10 +141,7 @@ class PrivateChannelController:
|
||||
if len(banned) > 0:
|
||||
out += f'The Character <highlight>{", ".join(banned)}</highlight> is <red>banned</red>, ' \
|
||||
f'and cannot be invited.'
|
||||
if request.channel == "priv":
|
||||
return out.strip("\n")
|
||||
else:
|
||||
self.bot.send_mass_message(request.sender.char_id, out.strip("\n"))
|
||||
return out.strip("\n")
|
||||
|
||||
@command(command="kick", params=[Character("character")], access_level="moderator",
|
||||
description="Kick a character from the private channel")
|
||||
|
||||
Reference in New Issue
Block a user