From a52026404b7ee4163a2791f9329e22ceb84dac56 Mon Sep 17 00:00:00 2001 From: Conatum Date: Tue, 19 Oct 2021 19:15:48 +0300 Subject: [PATCH] fix (video): Add missing `return` in response. --- bot/modules/moderation/video/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/modules/moderation/video/admin.py b/bot/modules/moderation/video/admin.py index fd75573b..1f0ddaab 100644 --- a/bot/modules/moderation/video/admin.py +++ b/bot/modules/moderation/video/admin.py @@ -87,9 +87,9 @@ class video_studyban(settings.Boolean, GuildSetting): @property def success_response(self): if self.value: - "Members will now be study banned if they don't enable their video in the configured video channels." + return "Members will now be study-banned if they don't enable their video in the configured video channels." else: - "Members will not be studybanned if they don't enable their video in video channels." + return "Members will not be study-banned if they don't enable their video in video channels." @GuildSettings.attach_setting