Browse Source

Timings - imprive cpu analysis

pull/3/head
DrBot7 4 years ago
committed by GitHub
parent
commit
1215e992f9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      cogs/timings.py

6
cogs/timings.py

@ -145,9 +145,9 @@ class Timings(commands.Cog):
try:
cpu = int(r["timingsMaster"]["system"]["cpu"])
if cpu < 4:
embed_var.add_field(name="Cores",
value="You have only " + str(cpu) + " core(s). Find a better host.",
if cpu <= 2:
embed_var.add_field(name="Threads",
value="You have only " + str(cpu) + " thread(s). Find a [better host](https://www.birdflop.com).",
inline=True)
except KeyError:
unchecked = unchecked + 1

Loading…
Cancel
Save