I think my code is depressed.

This commit is contained in:
211951251919 2022-04-15 23:54:35 +00:00
parent 1f639e8f75
commit dfca0c0f59
1 changed files with 4 additions and 4 deletions

View File

@ -23,13 +23,13 @@ class System(commands.Cog):
async def bot_group(self, ctx):
"""Command group for core bot commands"""
if ctx.invoked_subcommand is None:
await ctx.send('No subcommand invoked.')
await ctx.send('What the heck are you doing.')
@bot_group.command()
async def ping(self, ctx):
"""Ping the bot"""
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",
colour=common.random_rgb())
embed.set_footer(text=f"requested by {ctx.author}",
@ -41,7 +41,7 @@ class System(commands.Cog):
async def stop(self, ctx):
"""Stop the bot"""
await ctx.message.delete()
embed = discord.Embed(title="Stopping Bot!",
embed = discord.Embed(title="AHHHHHHHHHHHHH!",
color=common.random_rgb())
embed.set_footer(text=f"requested by {ctx.author}",
icon_url=ctx.author.avatar_url)
@ -53,7 +53,7 @@ class System(commands.Cog):
async def restart(self, ctx):
"""Restart the bot"""
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())
embed.set_footer(text=f"requested by {ctx.author}",
icon_url=ctx.author.avatar_url)