首次提交
This commit is contained in:
9
danding_bot/plugins/auto_friend_accept/config.py
Normal file
9
danding_bot/plugins/auto_friend_accept/config.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from pydantic import BaseModel, validator
|
||||
from typing import Optional
|
||||
|
||||
class Config(BaseModel):
|
||||
# 是否启用自动同意好友请求
|
||||
auto_accept_enabled: bool = True
|
||||
|
||||
# 自动回复的消息,如果为空则不发送
|
||||
auto_reply_message: Optional[str] = ""
|
||||
Reference in New Issue
Block a user