Add AquaBot title

and some other minor changes
This commit is contained in:
CramMK
2020-01-19 15:21:37 +01:00
parent e587afb76c
commit c0450c5bbe
10 changed files with 95 additions and 52 deletions

29
cogs/utility.py Normal file
View File

@@ -0,0 +1,29 @@
#
# This Cog adds some utility commands
#
# https://discordpy.readthedocs.io/en/latest/ext/commands/cogs.html
#
# IMPORTS
import discord
from discord.ext import commands
# COG INIT
class Utility(commands.Cog):
def __init__(self, bot):
self.bot = bot
# COG BODY
@commands.command(name="invitelink", aliases=["invite"])
async def invite_link(self, ctx):
"""
Sends the server's invitelink to chat
"""
# TODO fetch this from config so more servers are supported
link = "Here is our invite link: https://discordapp.com/invite/HbYfyJT"
await ctx.send(link)
# COG ENDING
def setup(bot):
bot.add_cog(Utility(bot))