<commit_before>from plumeria.command import commands, CommandError
from plumeria.message.lists import build_list
from plumeria.perms import owners_only
from plumeria.transport import transports


@commands.register('accept invite', category='Discord')
@owners_only
async def accept_invite(message):
    """
    Accept an invite to join a server.

    Example::

        /accept invite https://discord.gg/00000
    """
    url = message.content.strip()<commit_msg>Use /join instead of /accept invite.<commit_after>from plumeria.command import commands, CommandError
from plumeria.message.lists import build_list
from plumeria.perms import owners_only
from plumeria.transport import transports


@commands.register('join', category='Discord')
@owners_only
async def join(message):
    """
    Accept an invite to join a server.

    Example::

        /join https://discord.gg/00000
    """
    url = message.content.strip()
{'fraction_non_alphanumeric': 0.09652928416485901, 'fraction_numerical': 0.010845986984815618, 'mean_word_length': 4.214689265536723, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3199087', 'n_tokens_mistral': 271, 'n_tokens_neox': 248, 'n_words': 76}