DrBot7
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
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 |
|
|
|