@commandkit/i18n 0.1.2-dev.20250407135247 → 0.1.2-dev.20250411164423

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 +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -80,8 +80,8 @@ export const chatInput: SlashCommand = async (ctx) => {
80
80
  // you can also pass a discord.js locale enum to use custom locale
81
81
  // ctx.locale("fr") // uses french locale
82
82
  const { t, i18n } = ctx.locale()
83
- // ^ TFunction
84
- // ^ i18next instance
83
+ // | |__ i18next instance
84
+ // |_____ TFunction
85
85
 
86
86
  ctx.interaction.reply({
87
87
  content: t("response", { latency: client.ping }),
@@ -105,4 +105,4 @@ export async function run({ interaction }) {
105
105
  }
106
106
  ```
107
107
 
108
- This function is identical to the one in the context and it can also infer the locale automatically.
108
+ This function is identical to the one in the context and it can also infer the locale automatically.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commandkit/i18n",
3
- "version": "0.1.2-dev.20250407135247",
3
+ "version": "0.1.2-dev.20250411164423",
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",