value="This plugin was made by Songoda. Songoda resources are poorly developed and often cause problems. You should find an alternative such as [HeadsPlus](spigotmc.org/resources/headsplus-»-1-8-1-16-4.40265/) or [HeadDatabase](https://www.spigotmc.org/resources/head-database.14280/).",
inline=True)
ifplugin=="EpicHeads":
embed_var.add_field(name="❌ EpicHeads",
value="This plugin was made by Songoda. Songoda resources are poorly developed and often cause problems. You should find an alternative such as [HeadsPlus](spigotmc.org/resources/headsplus-»-1-8-1-16-4.40265/) or [HeadDatabase](https://www.spigotmc.org/resources/head-database.14280/).",
inline=True)
elifplugin=="UltimateStacker":
embed_var.add_field(name="❌ UltimateStacker",
value="Stacking plugins actually cause more lag. "
"Remove UltimateStacker.",
inline=True)
else:
embed_var.add_field(name="❌ "+plugin,
value="This plugin was made by Songoda. You should find an alternative.",
value="This plugin was made by Songoda. Songoda resources are poorly developed and often cause problems. You should find an alternative.",
inline=True)
exceptKeyError:
unchecked=unchecked+1
@ -1050,23 +1067,21 @@ class Timings(commands.Cog):
value="At least one of your configuration files had an invalid data type.",
inline=True)
awaitmessage.channel.send(embed=embed_var)
awaitmessage.reply(embed=embed_var)
return
iflen(embed_var.fields)==0:
embed_var.add_field(name="✅ All good",
value="Analyzed with no issues")
awaitmessage.channel.send(embed=embed_var)
awaitmessage.reply(embed=embed_var)
return
issue_count=len(embed_var.fields)
ifissue_count>25:
embed_var.description="Showing 25 of "+str(issue_count)+" recommendations."
else:
embed_var.description="Showing "+str(issue_count)+" of "+str(issue_count)+" recommendations."
ifissue_count>0:
embed_var.description=embed_var.description+"\n||"+str(unchecked)+" missing configuration optimizations due to server version.||"
awaitmessage.channel.send(embed=embed_var)
ifissue_count>=25:
embed_var.insert_field_at(index=24,name="Plus "+str(issue_count-24)+" more recommendations",value="Create a new timings report after resolving some of the above issues to see more,",inline=True)
ifunchecked>0:
embed_var.description="||"+str(unchecked)+" missing configuration optimizations due to your server version.||"