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:
CramMK
2020-01-23 15:57:30 +00:00
parent 10c65cfda4
commit a653476e9c
14 changed files with 217 additions and 52 deletions

View File

@@ -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))