mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: typo OpenAI
This commit is contained in:
parent
4581db1b8c
commit
eef4254e00
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ export class ChatGPTButtonHandler extends plugin {
|
||||||
]
|
]
|
||||||
let buttons = [[], []]
|
let buttons = [[], []]
|
||||||
if (Config.apiKey) {
|
if (Config.apiKey) {
|
||||||
buttons[0].push(createButtonBase('OpenAPI', '#chat1', false))
|
buttons[0].push(createButtonBase('OpenAI', '#chat1', false))
|
||||||
}
|
}
|
||||||
if (await redis.get('CHATGPT:TOKEN')) {
|
if (await redis.get('CHATGPT:TOKEN')) {
|
||||||
buttons[0].push(createButtonBase('ChatGPT', '#chat3', false))
|
buttons[0].push(createButtonBase('ChatGPT', '#chat3', false))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue