mirror of
https://github.com/Fluffy-Bean/Lynxie.git
synced 2025-05-17 17:04:59 +00:00
Move back to Python
This commit is contained in:
parent
c2e3982cc5
commit
640351e5bf
16 changed files with 893 additions and 1789 deletions
12
lynxie/commands/hello.py
Normal file
12
lynxie/commands/hello.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
import discord
|
||||
from discord.ext import commands
|
||||
|
||||
|
||||
class Hello(commands.Cog):
|
||||
def __init__(self, bot):
|
||||
self.bot = bot
|
||||
|
||||
@commands.command()
|
||||
async def hello(self, interaction: discord.Interaction):
|
||||
"""Says hello!"""
|
||||
await interaction.response.send_message(f"Balls, {interaction.user.mention}")
|
Loading…
Add table
Add a link
Reference in a new issue