This commit is contained in:
Siwoo Jeon 2024-10-04 21:57:45 +09:00
parent 87fd5f0ab9
commit 0fcff7207f
Signed by: migan
GPG key ID: 036E9A8C5E8E48DA

View file

@ -60,11 +60,12 @@ export default class MuffinBot extends SapphireClient {
public override async login(): Promise<string> { public override async login(): Promise<string> {
if (container.channel === 'RELEASE') await container.chatBot.train(this) if (container.channel === 'RELEASE') await container.chatBot.train(this)
else else {
container.logger.info( container.logger.info(
'[MuffinBot] 해당 채널은 RELEASE 채널이 아니라서 학습 기능이 꺼졌습니다.\n' + '[MuffinBot] 해당 채널은 RELEASE 채널이 아니라서 학습 기능이 꺼졌습니다.',
`현재 채널: ${container.channel}`,
) )
container.logger.info(`[MuffinBot] 현재 채널: ${container.channel}`)
}
return super.login(config.bot.token) return super.login(config.bot.token)
} }
} }