Browse Source

ya debil 3

huy
gsd 2 years ago
parent
commit
c7ee90ecac
  1. 4
      other_ext/stats_presence.py

4
other_ext/stats_presence.py

@ -21,11 +21,11 @@ class Extension:
print("Stats not be loaded")
return
try:
server = self.core.stats['servers'].values()[self.show_stats_prev]
server = list(self.core.stats['servers'].values())[self.show_stats_prev]
self.show_stats_prev += 1
except:
self.show_stats_prev = 0
server = self.core.stats['servers'].values()[self.show_stats_prev]
server = list(self.core.stats['servers'].values())[self.show_stats_prev]
addr = server['address'].split(":")
act = discord.Streaming(name = f"{server['name']} - {server['player_count']}", url=f"https://{addr[0]}/connect/{addr[1]}")

Loading…
Cancel
Save