mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: add log
This commit is contained in:
parent
7a320bc772
commit
84843800b5
1 changed files with 1 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ export class Entertainment extends plugin {
|
|||
if (Bot.gl[groupId]) {
|
||||
if (Math.floor(Math.random() * 100) < 10) {
|
||||
let message = await generateHello()
|
||||
logger.info(`打招呼给群聊${groupId}:` + message)
|
||||
if (Config.defaultUseTTS) {
|
||||
let audio = await generateAudio(message, '随机')
|
||||
await Bot.sendGroupMsg(groupId, segment.record(audio))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue