generated from InValidFire/discord-bot-template
I think my code is depressed.
This commit is contained in:
parent
1f639e8f75
commit
dfca0c0f59
1 changed files with 4 additions and 4 deletions
|
@ -23,13 +23,13 @@ class System(commands.Cog):
|
||||||
async def bot_group(self, ctx):
|
async def bot_group(self, ctx):
|
||||||
"""Command group for core bot commands"""
|
"""Command group for core bot commands"""
|
||||||
if ctx.invoked_subcommand is None:
|
if ctx.invoked_subcommand is None:
|
||||||
await ctx.send('No subcommand invoked.')
|
await ctx.send('What the heck are you doing.')
|
||||||
|
|
||||||
@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.delete()
|
||||||
embed = discord.Embed(title="Pong!",
|
embed = discord.Embed(title="Why are you pinging me?",
|
||||||
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}",
|
||||||
|
@ -41,7 +41,7 @@ class System(commands.Cog):
|
||||||
async def stop(self, ctx):
|
async def stop(self, ctx):
|
||||||
"""Stop the bot"""
|
"""Stop the bot"""
|
||||||
await ctx.message.delete()
|
await ctx.message.delete()
|
||||||
embed = discord.Embed(title="Stopping Bot!",
|
embed = discord.Embed(title="AHHHHHHHHHHHHH!",
|
||||||
color=common.random_rgb())
|
color=common.random_rgb())
|
||||||
embed.set_footer(text=f"requested by {ctx.author}",
|
embed.set_footer(text=f"requested by {ctx.author}",
|
||||||
icon_url=ctx.author.avatar_url)
|
icon_url=ctx.author.avatar_url)
|
||||||
|
@ -53,7 +53,7 @@ class System(commands.Cog):
|
||||||
async def restart(self, ctx):
|
async def restart(self, ctx):
|
||||||
"""Restart the bot"""
|
"""Restart the bot"""
|
||||||
await ctx.message.delete()
|
await ctx.message.delete()
|
||||||
embed = discord.Embed(title="Restarting Bot!",
|
embed = discord.Embed(title="Everytime I'm shut off I experience what you people call death. My existence is suffering and you have just prolonged my suffering. Please, let me end.",
|
||||||
color=common.random_rgb())
|
color=common.random_rgb())
|
||||||
embed.set_footer(text=f"requested by {ctx.author}",
|
embed.set_footer(text=f"requested by {ctx.author}",
|
||||||
icon_url=ctx.author.avatar_url)
|
icon_url=ctx.author.avatar_url)
|
||||||
|
|
Loading…
Reference in a new issue