You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
323 B
Python
15 lines
323 B
Python
2 years ago
|
import discord
|
||
|
from discord.ext import commands
|
||
|
|
||
|
class Greetings(commands.Cog):
|
||
|
def __init__(self, bot):
|
||
|
self.bot = bot
|
||
|
|
||
|
@commands.slash_command(guild_ids=["823188238260633600"])
|
||
|
async def hello(self, ctx):
|
||
|
await ctx.send(f'Hello {ctx.author}')
|
||
|
|
||
|
def setup(bot):
|
||
|
bot.add_cog(Greetings(bot))
|
||
|
|