Working plugins architecture
This commit is contained in:
1 parent
85b86e5fca
commit
362bef1202
3 files changed
+49
No files matched your search
@@ -0,0 +1,10 @@
|
||||
from discord.ext import commands
|
||||
import discord
|
||||
|
||||
@commands.command()
|
||||
async def hello(ctx):
|
||||
await ctx.send(f'Hello {ctx.author.display_name}.')
|
||||
|
||||
async def setup(bot):
|
||||
print("I am being loaded!")
|
||||
bot.add_command(hello)
|
||||
Reference in new issue
Block a user