<commit_before>from __future__ import annotations

from discord.ext import commands

from ..context import Context
from ..erasmus import Erasmus


class Misc(commands.Cog[Context]):
    def __init__(self, bot: Erasmus) -> None:
        self.bot = bot

    @commands.command(brief='Get the invite link for Erasmus')
    @commands.cooldown(rate=2, per=30.0, type=commands.BucketType.channel)
    async def invite(self, ctx: Context) -> None:
        await ctx.send(
            '<https://discordapp.com/oauth2/authorize?client_id='
            '349394562336292876&scope=bot&permissions=388160>'
        )


def setup(bot: Erasmus) -> None:
    bot.add_cog(Misc(bot))<commit_msg>Add areyoumyfriend<commit_after>from __future__ import annotations

from discord.ext import commands

from ..context import Context
from ..erasmus import Erasmus


class Misc(commands.Cog[Context]):
    def __init__(self, bot: Erasmus) -> None:
        self.bot = bot

    @commands.command(brief='Get the invite link for Erasmus')
    @commands.cooldown(rate=2, per=30.0, type=commands.BucketType.channel)
    async def invite(self, ctx: Context) -> None:
        await ctx.send(
            '<https://discordapp.com/oauth2/authorize?client_id='
            '349394562336292876&scope=bot&permissions=388160>'
        )

    @commands.command(hidden=True)
    @commands.cooldown(rate=2, per=30.0, type=commands.BucketType.channel)
    async def areyoumyfriend(self, ctx: Context) -> None:
        if ctx.author.id in {5<PASSWORD>, <PASSWORD>}:
            await ctx.send(f'No, I am not your friend, {ctx.author.mention}')
        else:
            await ctx.send(f"Of course I'm your friend, {ctx.author.mention}")


def setup(bot: Erasmus) -> None:
    bot.add_cog(Misc(bot))
{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.03595890410958904, 'mean_word_length': 3.371571072319202, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 14, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3583492', 'n_tokens_mistral': 619, 'n_tokens_neox': 580, 'n_words': 129}