|
|
|
@ -20,6 +20,13 @@ class Utility(commands.Cog): |
|
|
|
|
async def similarity_score(self, ctx: commands.Context, source: str, target: str): |
|
|
|
|
await ctx.send(str(FuzzyMatcher().score(romanize(source), romanize(target)))) |
|
|
|
|
|
|
|
|
|
@commands.command(name='invite', |
|
|
|
|
aliases=[], |
|
|
|
|
description='Sends the bot invite.', |
|
|
|
|
help='!invite') |
|
|
|
|
async def invite(self, ctx: commands.Context): |
|
|
|
|
await ctx.send('https://discord.com/api/oauth2/authorize?client_id=789314370999287808&permissions=388160&scope=bot') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def setup(bot): |
|
|
|
|
bot.add_cog(Utility(bot)) |
|
|
|
|