Python
from types import SimpleNamespace

bits_amount = 0
message = SimpleNamespace(content="")
message.content = "cheerc9001 this is a fake cheer of over 9000"

words = message.content.lower().split()
for word in words:
# Common cheer patterns: cheer100, kappa50, pogchamp25, etc.
    if any(word.startswith(cheer) for cheer in ['cheer', 'kappa', 'pogchamp']):
        # Extract number from the end of the cheer
        import re
        match = re.search(r'(\d+)$', word)
        if match:
            try:
                bits_amount += int(match.group(1))
            except (ValueError, TypeError):
                pass

print(bits_amount)
9001