diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 26f47b1..7219cf6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,6 +13,8 @@ build: - npx tsc - npx rollup --config + - node bin/nxapi.js util validate-discord-titles + - PACKAGE=`npm --color="always" pack` - mv "$PACKAGE" nxapi.tgz diff --git a/src/discord/titles/capcom.ts b/src/discord/titles/capcom.ts new file mode 100644 index 0000000..275d702 --- /dev/null +++ b/src/discord/titles/capcom.ts @@ -0,0 +1,52 @@ +import { Title } from '../util.js'; + +export const titles: Title[] = [ + { + // Monster Hunter Rise + id: '0100b04011742000', + client: '986683336053370900', + showPlayingOnline: true, + showActiveEvent: true, + }, + { + // Monster Hunter Rise [Japan] + id: '0100559011740000', + client: '986683336053370900', + showPlayingOnline: true, + showActiveEvent: true, + }, + + { + // Monster Hunter Rise Demo + id: '010093a01305c000', + client: '986683336053370900', + largeImageText: 'Demo', + showPlayingOnline: true, + showActiveEvent: true, + }, + { + // Monster Hunter Rise Demo [Japan] + id: '0100bef013050000', + client: '986683336053370900', + largeImageText: 'Demo', + showPlayingOnline: true, + showActiveEvent: true, + }, + + { + // Monster Hunter Rise: Sunbreak Demo + id: '0100db001724e000', + client: '986683336053370900', + largeImageText: 'Sunbreak Demo', + showPlayingOnline: true, + showActiveEvent: true, + }, + { + // Monster Hunter Rise: Sunbreak Demo [Japan] + id: '01000ee01724c000', + client: '986683336053370900', + largeImageText: 'Sunbreak Demo', + showPlayingOnline: true, + showActiveEvent: true, + }, +]; diff --git a/src/discord/titles/index.ts b/src/discord/titles/index.ts index 0a2fb39..625fc7a 100644 --- a/src/discord/titles/index.ts +++ b/src/discord/titles/index.ts @@ -1,2 +1,3 @@ export * as nintendo from './nintendo.js'; export * as mojang from './mojang.js'; +export * as capcom from './capcom.js';