Some small improvements

This commit is contained in:
Marco Thomas
2020-10-08 10:05:58 +02:00
parent 24c416a80b
commit 4a5933729b
12 changed files with 48 additions and 71 deletions

View File

@@ -2,17 +2,15 @@
Some (more or less) handy utility
"""
# IMPORTS - external
import discord
from discord.ext import commands
import random
# 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, age=60*10, uses=100):
"""
@@ -57,6 +55,5 @@ class Utility(commands.Cog):
await ctx.send(response)
# COG ENDING
def setup(bot):
bot.add_cog(Utility(bot))