Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问能够设置多个群吗 #6

Open
Nothingness-Void opened this issue Jan 17, 2021 · 2 comments
Open

请问能够设置多个群吗 #6

Nothingness-Void opened this issue Jan 17, 2021 · 2 comments

Comments

@Nothingness-Void
Copy link

我把群消息和计时器都写了两份 但是只有原始的那份群号的群会有播报 新写的没有

@mgsky1
Copy link
Owner

mgsky1 commented Jan 20, 2021

只需要在配置文件里配置多个群号,模版,触发时间就行了

@Nothingness-Void
Copy link
Author

"groupInfo":[
{
"timer":"timer2",
"beginHour":22,
"beginMinutes":0,
"groupId":"群1"
},
{
"timer":"T",
"beginHour":22,
"beginMinutes":0,
"groupId":"群2"
}
],
"template":[
{
"groupId":"群1",
"content":[
{
XXXXX
},
{
XXXX
}]
},
{
"groupId":"群2",
"content":[
{
XXXX
},
{
XXXX
}]
}
]

您好 我按照这样设置了两个群 但是只有后设置的群2会触发任务 而群1不会 但是在文件夹里确实记录了两个群的聊天记录

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants