Skip to main content

Interface: InternationalizationContext

@sapphire/plugin-i18next.InternationalizationContext

Context for InternationalizationHandler.fetchLanguage functions. This context enables implementation of per-guild, per-channel, and per-user localization.

Properties

author

author: null | User

Defined in

projects/plugins/packages/i18next/src/lib/types.ts:126


channel

channel: null | DiscordChannel

Defined in

projects/plugins/packages/i18next/src/lib/types.ts:125


guild

guild: null | Guild

Defined in

projects/plugins/packages/i18next/src/lib/types.ts:124