Skip to content
This repository was archived by the owner on Sep 7, 2021. It is now read-only.

Commit 86d7f38

Browse files
committed
MOD | infos command
1 parent ebef593 commit 86d7f38

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

main.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,15 @@ async def next(ctx):
106106
embed.set_footer(text="Time before start: " + str(coc.time_before_start))
107107
await ctx.send(embed=embed)
108108

109+
@bot.command(name="info", description="Display info on the bot")
110+
async def info(ctx):
111+
embed = discord.Embed(title="Infos", color=Color.gold())
112+
embed.add_field(name="Invite me", value="[here](https://discord.com/api/oauth2/authorize?client_id=866601410237038592&permissions=8&scope=bot)")
113+
embed.add_field(name="Source Code", value="[here](https://github.com/Waz0x/codingame_discord_bot)")
114+
embed.set_thumbnail(url="https://res.cloudinary.com/crunchbase-production/image/upload/c_lpad,f_auto,q_auto:eco,dpr_1/v1410916443/e1aka8oyy6vnsbrt8ogw.png")
115+
embed.set_footer(text="Made with <3 by Waz0x", icon_url="https://cdn.discordapp.com/avatars/606758395583922176/0ab96a13c0e7998926b1ffdfa9364313.png?size=128")
116+
await ctx.send(embed=embed)
117+
109118
#@bot.command(name="leaderboard", description="get your leaderboard")
110119
#async def leaderboard(ctx, arg=None):
111120
# if not arg:

0 commit comments

Comments
 (0)