mirror of
https://github.com/polyjitter/searchbot-discord.git
synced 2024-08-14 22:46:55 +00:00
some core changes
This commit is contained in:
parent
bebd010290
commit
93b9e53774
1 changed files with 5 additions and 3 deletions
|
@ -98,7 +98,8 @@ class Core(commands.Cog):
|
||||||
|
|
||||||
# Header
|
# Header
|
||||||
msg = (
|
msg = (
|
||||||
f"__**{self.bot.user.name}**__ - _{self.bot.description}_\n\n"
|
f"__**{self.bot.user.name}**__ - _{self.bot.description}_\n"
|
||||||
|
"Written in `discord.py`.\n\n"
|
||||||
f"This instance by **{self.bot.appinfo.owner}.**\n\n"
|
f"This instance by **{self.bot.appinfo.owner}.**\n\n"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -165,8 +166,9 @@ class Core(commands.Cog):
|
||||||
Total RAM: {total_ram}
|
Total RAM: {total_ram}
|
||||||
Available RAM: {available_ram}
|
Available RAM: {available_ram}
|
||||||
RAM used by bot: {usage}
|
RAM used by bot: {usage}
|
||||||
Number of bot commands: {len(ctx.bot.commands)}
|
Number of bot commands: {len(self.bot.commands)}
|
||||||
Number of extensions present: {len(ctx.bot.cogs)}
|
Number of extensions present: {len(self.bot.cogs)}
|
||||||
|
Guild count: {len(self.bot.guilds)}
|
||||||
```
|
```
|
||||||
"""
|
"""
|
||||||
await ctx.send(msg)
|
await ctx.send(msg)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue