fix (rooms): Fix attr typo in category setting.
This commit is contained in:
@@ -40,8 +40,8 @@ class accountability_category(settings.Channel, settings.GuildSetting):
|
|||||||
aguild = AG.cache[self.id]
|
aguild = AG.cache[self.id]
|
||||||
if aguild.current_slot:
|
if aguild.current_slot:
|
||||||
aguild.current_lost.cancel()
|
aguild.current_lost.cancel()
|
||||||
if aguild.next_slot:
|
if aguild.upcoming_slot:
|
||||||
aguild.next_slot.cancel()
|
aguild.upcoming_slot.cancel()
|
||||||
return "The accountability system has been stopped."
|
return "The accountability system has been stopped."
|
||||||
else:
|
else:
|
||||||
return "The accountability category has been unset."
|
return "The accountability category has been unset."
|
||||||
|
|||||||
Reference in New Issue
Block a user