- Guild number warning should use real numbers
This commit is contained in:
parent
0975bc8275
commit
74d192a222
1 changed files with 3 additions and 2 deletions
|
|
@ -793,11 +793,12 @@ class VoiceSettingsWindow(SettingsWindow):
|
|||
def set_guild_list(self, guild_list):
|
||||
# Uncertain about image but it's ready incase
|
||||
# guild['icon_url']
|
||||
if len(guild_list) > 1 and len(self.guild_ids) == 0 and not self.warned:
|
||||
if len(guild_list) > 50 and len(self.guild_ids) == 0 and not self.warned:
|
||||
# Trouble!
|
||||
# Show warning message
|
||||
if self.discover.steamos:
|
||||
self.discover.set_about_warning("Your Discord server count is too high. Using Discover with too many servers can cause (long!) temporary Discord bans.\nPlease opt-in to servers you wish to use voice chat in.")
|
||||
self.discover.set_about_warning(
|
||||
"Your Discord server count is too high. Using Discover with too many servers can cause (long!) temporary Discord bans.\nPlease opt-in to servers you wish to use voice chat in.")
|
||||
else:
|
||||
d = Gtk.Window(title="Server limit exceeded")
|
||||
d.set_default_size(200, 150)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue