Add music

This commit is contained in:
Michał Gdula 2023-09-07 15:02:11 +01:00
parent 640351e5bf
commit bafe17e0d4
6 changed files with 276 additions and 22 deletions

View file

@ -1,4 +1,3 @@
import discord
from discord.ext import commands
@ -7,6 +6,5 @@ class Hello(commands.Cog):
self.bot = bot
@commands.command()
async def hello(self, interaction: discord.Interaction):
"""Says hello!"""
await interaction.response.send_message(f"Balls, {interaction.user.mention}")
async def hello(self, ctx):
await ctx.send(f"Hello {ctx.author.mention}!")