Skip to content

Commit b860e7b

Browse files
committed
fix type
Signed-off-by: RedTeaDev <[email protected]>
1 parent d70f327 commit b860e7b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

teapot/cogs/cmds.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ async def info(ctx):
8484
"/7fe078b5ea6b43000dfb7964e3e4d21d.png?size=512")
8585
embed.set_thumbnail(url="https://avatars2.githubusercontent.com/u/60006969?s=200&v=4")
8686
embed.add_field(name="Bot User:", value=bot.user)
87-
embed.add_field(name="Guilds:", value=len(bot.guilds))
88-
embed.add_field(name="Members:", value=len(set(bot.get_all_members())))
87+
embed.add_field(name="Guilds:", value=str(len(bot.guilds)))
88+
embed.add_field(name="Members:", value=str(len(set(bot.get_all_members()))))
8989
embed.add_field(name="O.S.:", value=str(teapot.getPlatform()))
9090
embed.add_field(name="Storage Type:", value=teapot.config.storage_type())
9191
embed.add_field(name="Prefix:", value=", ".join(teapot.config.bot_prefix()))
@@ -200,7 +200,9 @@ async def debug(ctx):
200200
inline=True)
201201
embed.add_field(name="Website:", value="[Website](https://teapot.page)", inline=True)
202202
embed.add_field(name="Links",
203-
value="[Support Discord](https://discord.gg/7BRGs6F) | [Add bot to server](https://discordapp.com/oauth2/authorize?client_id=669880564270104586&permissions=8&scope=bot) | [Repository](https://github.com/RedCokeDevelopment/Teapot.py)",
203+
value="[Support Discord](https://discord.gg/7BRGs6F) | [Add bot to server]" +
204+
"(https://discordapp.com/oauth2/authorize?client_id=669880564270104586&permissions=8&scope=bot) | " +
205+
"[Repository](https://github.com/RedCokeDevelopment/Teapot.py)",
204206
inline=False)
205207
embed.set_footer(text=f"{teapot.copyright()} | Code licensed under the MIT License")
206208
# embed.set_image(url="https://user-images.githubusercontent.com/43201383/72987537-89830a80-3e25-11ea-95ef-ecfa0afcff7e.png")

0 commit comments

Comments
 (0)