Supported unprefixed responses

This commit is contained in:
Choco
2024-10-27 21:37:07 +08:00
parent b26daaaeb7
commit ed823bbdcd
3 changed files with 4 additions and 3 deletions

View File

@@ -164,7 +164,7 @@ if (LOG_FILE := LOG_SETTINGS.get("file", {})).get("enable", True):
# Setup the bot object
intents = discord.Intents.default()
intents.message_content = True if func.settings.bot_prefix else False
intents.message_content = False if func.settings.bot_prefix is None else True
intents.members = func.settings.ipc_client.get("enable", False)
intents.voice_states = True

View File

@@ -5,4 +5,5 @@ tldextract==3.2.1
validators==0.18.2
humanize==4.0.0
beautifulsoup4==4.11.1
psutil==5.9.8
psutil==5.9.8
aiohttp==3.9.5

View File

@@ -2,7 +2,7 @@ import requests, zipfile, os, shutil, argparse
from io import BytesIO
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
__version__ = "v2.6.9"
__version__ = "v2.7.0b1"
GITHUB_API_URL = "https://api.github.com/repos/ChocoMeow/Vocard/releases/latest"
VOCARD_URL = "https://github.com/ChocoMeow/Vocard/archive/"