<commit_before>import logging
import random

from pajbot.managers.handler import HandlerManager
from pajbot.managers.redis import RedisManager
from pajbot.models.command import Command
from pajbot.modules.base import BaseModule
from pajbot.modules.base import ModuleSetting
from pajbot.streamhelper import StreamHelper
from pajbot.utils import find

log = logging.getLogger(__name__)


class QuestModule(BaseModule):

    ID = __name__.split(".")[-1]
    NAME = "Quest system"
    DESCRIPTION = "Give users a single quest at the start of each day"
    CATEGORY = "Game"
    SETTINGS = [
        ModuleSetting(
            key="action_currentquest",
            label="MessageAction for !currentquest",
            type="options",
            required=True,
            default="say",
            options=["say", "whisper", "me", "reply"],
        ),
        ModuleSetting(
            key="action_tokens",
            label="MessageAction for !tokens",
            type="options",
            required=True,
            default="whisper",
            options=["say", "whisper", "me", "reply"],
        ),
        ModuleSetting(
            key="reward_type",
            label="Reward type",
            type="options",
            required=True,
            default="tokens",
            options=["tokens", "points"],<commit_msg>Fix description of quest module to be accurate (#1130)<commit_after>import logging
import random

from pajbot.managers.handler import HandlerManager
from pajbot.managers.redis import RedisManager
from pajbot.models.command import Command
from pajbot.modules.base import BaseModule
from pajbot.modules.base import ModuleSetting
from pajbot.streamhelper import StreamHelper
from pajbot.utils import find

log = logging.getLogger(__name__)


class QuestModule(BaseModule):

    ID = __name__.split(".")[-1]
    NAME = "Quest system"
    DESCRIPTION = "Give users a single quest at the start of each stream"
    CATEGORY = "Game"
    SETTINGS = [
        ModuleSetting(
            key="action_currentquest",
            label="MessageAction for !currentquest",
            type="options",
            required=True,
            default="say",
            options=["say", "whisper", "me", "reply"],
        ),
        ModuleSetting(
            key="action_tokens",
            label="MessageAction for !tokens",
            type="options",
            required=True,
            default="whisper",
            options=["say", "whisper", "me", "reply"],
        ),
        ModuleSetting(
            key="reward_type",
            label="Reward type",
            type="options",
            required=True,
            default="tokens",
            options=["tokens", "points"],
{'fraction_non_alphanumeric': 0.10835798816568047, 'fraction_numerical': 0.0022189349112426036, 'mean_word_length': 2.3939774153074027, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '7451507', 'n_tokens_mistral': 733, 'n_tokens_neox': 714, 'n_words': 185}