fix: typo OpenAI

This commit is contained in:
ikechan8370 2024-03-07 00:29:27 +08:00 committed by GitHub
parent 4581db1b8c
commit eef4254e00
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -157,7 +157,7 @@ export class ChatGPTButtonHandler extends plugin {
]
let buttons = [[], []]
if (Config.apiKey) {
buttons[0].push(createButtonBase('OpenAPI', '#chat1', false))
buttons[0].push(createButtonBase('OpenAI', '#chat1', false))
}
if (await redis.get('CHATGPT:TOKEN')) {
buttons[0].push(createButtonBase('ChatGPT', '#chat3', false))