games/ares.py [27:54]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def purge_mentions(message: str):
    mentions = (
        pyparsing.Suppress("<@")
        + pyparsing.SkipTo(">", include=True).suppress()
    )
    return mentions.transform_string(message)


def extract_move(text):
    # Define the pattern to search for 'rock', 'paper', or 'scissors'
    pattern = r"\b(rock|paper|scissors)\b"
    match = re.search(pattern, text, re.IGNORECASE)
    if match:
        return match.group(0)
    return None


def main(argv):
    # Define the intents
    intents = discord.Intents.default()

    # Initialize Client
    client = discord.Client(intents=intents)

    # Event listener for when the client has switched from offline to online
    @client.event
    async def on_ready():
        logging.info(f"Logged in as {client.user}")
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



games/athena.py [27:54]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def purge_mentions(message: str):
    mentions = (
        pyparsing.Suppress("<@")
        + pyparsing.SkipTo(">", include=True).suppress()
    )
    return mentions.transform_string(message)


def extract_move(text):
    # Define the pattern to search for 'rock', 'paper', or 'scissors'
    pattern = r"\b(rock|paper|scissors)\b"
    match = re.search(pattern, text, re.IGNORECASE)
    if match:
        return match.group(0)
    return None


def main(argv):
    # Define the intents
    intents = discord.Intents.default()

    # Initialize Client
    client = discord.Client(intents=intents)

    # Event listener for when the client has switched from offline to online
    @client.event
    async def on_ready():
        logging.info(f"Logged in as {client.user}")
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



