We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69991de commit cd19172Copy full SHA for cd19172
packages/i18n/README.md
@@ -80,8 +80,8 @@ export const chatInput: SlashCommand = async (ctx) => {
80
// you can also pass a discord.js locale enum to use custom locale
81
// ctx.locale("fr") // uses french locale
82
const { t, i18n } = ctx.locale()
83
- // ^ TFunction
84
- // ^ i18next instance
+ // | |__ i18next instance
+ // |_____ TFunction
85
86
ctx.interaction.reply({
87
content: t("response", { latency: client.ping }),
@@ -105,4 +105,4 @@ export async function run({ interaction }) {
105
}
106
```
107
108
-This function is identical to the one in the context and it can also infer the locale automatically.
+This function is identical to the one in the context and it can also infer the locale automatically.
0 commit comments