General development process
- new cog commands - new voice cog - new requirements.txt - adjusted readme - added Dockerfile for faster deployment (still WIP) - other general things
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
"""
|
||||
Welcoming new users etc.
|
||||
Welcoming new users etc.:
|
||||
- listener: join
|
||||
- hello
|
||||
|
||||
https://discordpy.readthedocs.io/en/latest/ext/commands/cogs.html
|
||||
"""
|
||||
@@ -28,9 +30,12 @@ class Welcome(commands.Cog):
|
||||
|
||||
@commands.command(name="hello")
|
||||
async def hello(self, ctx):
|
||||
|
||||
"""
|
||||
Sends a simple reply to the user
|
||||
"""
|
||||
await ctx.send(f"Hello {ctx.author.mention}!")
|
||||
|
||||
|
||||
# COG ENDING
|
||||
def setup(bot):
|
||||
bot.add_cog(Welcome(bot))
|
||||
bot.add_cog(Welcome(bot))
|
||||
|
||||
Reference in New Issue
Block a user