import { Schema, SchemaStore, t } from '@sapphire/string-store';
export const SidekickCustomId = {
registerConfirm: 0,
registerCancel: 1
} as const;
export const SidekickCustomIdStore = new SchemaStore()
.add(
new Schema(SidekickCustomId.registerConfirm)
.string('playerId')
.uint4('characterSlot')
.bit('purchased')
.bit('humanoid')
.int4('cr')
.string('name')
.string('creature')
)
.add(new Schema(SidekickCustomId.registerCancel).snowflake('playerId'));
import { Schema, SchemaStore, t } from '@sapphire/string-store';
export const SidekickCustomId = {
registerConfirm: 0,
registerCancel: 1
} as const;
export const SidekickCustomIdStore = new SchemaStore()
.add(
new Schema(SidekickCustomId.registerConfirm)
.string('playerId')
.uint4('characterSlot')
.bit('purchased')
.bit('humanoid')
.int4('cr')
.string('name')
.string('creature')
)
.add(new Schema(SidekickCustomId.registerCancel).snowflake('playerId'));