Skip to content

feat(core): migrate adapters, fix #155 #730

feat(core): migrate adapters, fix #155

feat(core): migrate adapters, fix #155 #730

Triggered via push September 26, 2023 14:04
Status Failure
Total duration 56s
Artifacts

build.yaml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build: adapters/onebot/src/types.ts#L92
Namespace '"/home/runner/work/satori/satori/packages/protocol/lib/index"' has no exported member 'Author'.
build: adapters/onebot/src/utils.ts#L21
Type '{ user: Universal.User; nickname: string; roles: OneBot.GroupRole[]; id: string; name?: string; nick?: string; userId?: string; username?: string; avatar?: string; discriminator?: string; isBot?: boolean; }' is not assignable to type 'GuildMember'.
build: adapters/onebot/src/utils.ts#L31
Type '{ user: { id: string; name: string; isBot: boolean; }; nickname: string; roles: string[]; }' is not assignable to type 'GuildMember'.
build: adapters/onebot/src/utils.ts#L41
Type '{ user: { id: string; name: string; isBot: boolean; }; nickname: string; roles: string[]; }' is not assignable to type 'GuildMember'.
build: adapters/onebot/src/utils.ts#L45
Namespace '"/home/runner/work/satori/satori/packages/protocol/lib/index"' has no exported member 'Author'.
build: adapters/onebot/src/utils.ts#L54
Property 'author' does not exist on type 'Message'.
build: adapters/onebot/src/utils.ts#L55
Property 'userId' does not exist on type 'Message'. Did you mean 'user'?
build: adapters/onebot/src/utils.ts#L55
Property 'author' does not exist on type 'Message'.
build: adapters/onebot/src/utils.ts#L59
Property 'guildId' does not exist on type 'Message'. Did you mean 'guild'?
build: adapters/onebot/src/utils.ts#L60
Property 'channelId' does not exist on type 'Message'. Did you mean 'channel'?