mirror of
https://github.com/Jerryplusy/crystelf-plugin.git
synced 2025-10-13 21:29:19 +00:00
fix:修复检测适配器问题
This commit is contained in:
parent
a051f892ae
commit
4af20cf348
@ -42,7 +42,7 @@ export default class YunzaiUtils {
|
||||
const adapter = e.bot.version?.app_name;
|
||||
if (adapter === 'NapCat.Onebot') {
|
||||
return 'nc';
|
||||
} else if (adapter === 'Lagrange.Onebot') {
|
||||
} else if (adapter === 'Lagrange.OneBot') {
|
||||
return 'lgr';
|
||||
} else return 'nc';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user