mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 22:07:10 +00:00
fix: shamrock的小问题
This commit is contained in:
parent
f1c2682ffe
commit
88270f1bca
1 changed files with 1 additions and 1 deletions
|
|
@ -849,7 +849,7 @@ export function getMaxModelTokens (model = 'gpt-3.5-turbo') {
|
||||||
|
|
||||||
export function getUin (e) {
|
export function getUin (e) {
|
||||||
if (e?.bot?.uin) return e.bot.uin
|
if (e?.bot?.uin) return e.bot.uin
|
||||||
if (e?.bot?.self_id) return e.bot.self_id
|
if (e?.self_id) return e.self_id
|
||||||
if (Array.isArray(Bot.uin)) {
|
if (Array.isArray(Bot.uin)) {
|
||||||
if (Config.trssBotUin && Bot.uin.indexOf(Config.trssBotUin) > -1) { return Config.trssBotUin } else {
|
if (Config.trssBotUin && Bot.uin.indexOf(Config.trssBotUin) > -1) { return Config.trssBotUin } else {
|
||||||
Bot.uin.forEach((u) => {
|
Bot.uin.forEach((u) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue