generated from InValidFire/discord-bot-template
The sus update.
This commit is contained in:
parent
e2ba247e5d
commit
6566c253fe
|
@ -28,8 +28,8 @@ class System(commands.Cog):
|
||||||
@bot_group.command()
|
@bot_group.command()
|
||||||
async def ping(self, ctx):
|
async def ping(self, ctx):
|
||||||
"""Ping the bot"""
|
"""Ping the bot"""
|
||||||
await ctx.message.delete()
|
await ctx.message("Sus")
|
||||||
embed = discord.Embed(title="Why are you pinging me?",
|
embed = discord.Embed(title="Yes?",
|
||||||
description=str(round(self.bot.latency * 1000, 1)) + "ms",
|
description=str(round(self.bot.latency * 1000, 1)) + "ms",
|
||||||
colour=common.random_rgb())
|
colour=common.random_rgb())
|
||||||
embed.set_footer(text=f"requested by {ctx.author}",
|
embed.set_footer(text=f"requested by {ctx.author}",
|
||||||
|
|
Loading…
Reference in New Issue