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:
@@ -580,6 +580,8 @@ class DiscordController:
|
||||
async def on_message(self, msg: Message):
|
||||
if msg.author.id == self.client.user.id:
|
||||
return
|
||||
if not self.setting_service.get_value("dc_relay_public"):
|
||||
return
|
||||
channel: TextChannel = msg.channel
|
||||
if channel.id == int(self.setting_service.get_value("dc_relay_public")):
|
||||
if self.setting_service.get_value('is_alliance_bot') == "0":
|
||||
|
||||
Reference in New Issue
Block a user