Clean up code

This commit is contained in:
Michał Gdula 2023-09-09 20:52:12 +01:00
parent 90a347eb0b
commit c359356f4b
10 changed files with 51 additions and 36 deletions

View file

@ -1,3 +1,4 @@
import discord
from discord.ext import commands
@ -7,4 +8,10 @@ class Hello(commands.Cog):
@commands.command()
async def hello(self, ctx):
await ctx.send(f"Hello from England, {ctx.author.mention}!")
embed = discord.Embed(
title="Hello!",
description="I'm Lynxie, a multipurpose Discord bot written in Python!",
color=discord.Color.orange(),
)
await ctx.reply(embed=embed)