@commandkit/i18n 0.1.2-dev.20250509144708 → 0.1.2-dev.20250511034609

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -75,7 +75,7 @@ The `$command` key defines localization for the command name and description (or
75
75
  This plugin adds `locale()` function to your command context. You can use it to localize your command responses.
76
76
 
77
77
  ```ts
78
- export const chatInput: SlashCommand = async (ctx) => {
78
+ export const chatInput: ChatInputCommand = async (ctx) => {
79
79
  // ctx.locale() auto infers the localization of the current guild
80
80
  // you can also pass a discord.js locale enum to use custom locale
81
81
  // ctx.locale("fr") // uses french locale
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commandkit/i18n",
3
- "version": "0.1.2-dev.20250509144708",
3
+ "version": "0.1.2-dev.20250511034609",
4
4
  "description": "CommandKit plugin that adds command localizations backed by i18next",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",