Skip to content

Commit

Permalink
fix: 窒息
Browse files Browse the repository at this point in the history
  • Loading branch information
ikechan8370 committed Nov 28, 2023
1 parent b9ca5ce commit 823301e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -848,8 +848,8 @@ export function getMaxModelTokens (model = 'gpt-3.5-turbo') {
}

export function getUin (e) {
if (e?.bot?.uin) return e.bot.uin
if (e?.self_id) return e.self_id
if (e?.bot?.uin) return e.bot.uin
if (Array.isArray(Bot.uin)) {
if (Config.trssBotUin && Bot.uin.indexOf(Config.trssBotUin) > -1) { return Config.trssBotUin } else {
Bot.uin.forEach((u) => {
Expand Down

0 comments on commit 823301e

Please sign in to comment.