mirror of
https://github.com/Fluffy-Bean/Lynxie.git
synced 2025-05-21 02:44:57 +00:00
Clean up code
This commit is contained in:
parent
90a347eb0b
commit
c359356f4b
10 changed files with 51 additions and 36 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue