fix (schedule): Require existent Channels.

This commit is contained in:
2023-08-16 23:28:08 +03:00
parent fde42226ed
commit 465d03d459
2 changed files with 6 additions and 1 deletions

View File

@@ -51,6 +51,8 @@ class ScheduleSettings(SettingGroup):
_model = ScheduleData.ScheduleGuild
_column = ScheduleData.ScheduleGuild.lobby_channel.name
_allow_object = False
@property
def update_message(self):
@@ -110,6 +112,7 @@ class ScheduleSettings(SettingGroup):
_model = ScheduleData.ScheduleGuild
_column = ScheduleData.ScheduleGuild.room_channel.name
_allow_object = False
@property
def update_message(self):
@@ -424,6 +427,7 @@ class ScheduleSettings(SettingGroup):
_model = ScheduleData.ScheduleGuild
_column = ScheduleData.ScheduleGuild.blacklist_role.name
_allow_object = False
@property
def update_message(self):