fix (video): Add missing return in response.
This commit is contained in:
@@ -87,9 +87,9 @@ class video_studyban(settings.Boolean, GuildSetting):
|
|||||||
@property
|
@property
|
||||||
def success_response(self):
|
def success_response(self):
|
||||||
if self.value:
|
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:
|
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
|
@GuildSettings.attach_setting
|
||||||
|
|||||||
Reference in New Issue
Block a user