@sapphire/plugin-i18next 2.0.0 → 2.0.2-next.58cff52c.0
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.
- package/README.md +5 -5
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -76,7 +76,7 @@ export class PingCommand extends Command {
|
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
public async
|
|
79
|
+
public async messageRun(message: Message) {
|
|
80
80
|
await message.channel.send(await resolveKey('commands/ping:success'));
|
|
81
81
|
}
|
|
82
82
|
}
|
|
@@ -98,7 +98,7 @@ export class PingCommand extends Command {
|
|
|
98
98
|
});
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
public async
|
|
101
|
+
public async messageRun(message: Message) {
|
|
102
102
|
await sendLocalized(message, 'commands/ping:success');
|
|
103
103
|
}
|
|
104
104
|
}
|
|
@@ -120,7 +120,7 @@ export class PingCommand extends Command {
|
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
public async
|
|
123
|
+
public async messageRun(message: Message) {
|
|
124
124
|
await editLocalized(message, 'commands/ping:success_args', { latency: ws.ping });
|
|
125
125
|
}
|
|
126
126
|
}
|
|
@@ -142,7 +142,7 @@ export class PingCommand extends Command {
|
|
|
142
142
|
});
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
public async
|
|
145
|
+
public async messageRun(message: Message) {
|
|
146
146
|
return message.channel.send(await fetchLanguage(message));
|
|
147
147
|
// ===> en-US
|
|
148
148
|
}
|
|
@@ -189,7 +189,7 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
|
|
|
189
189
|
<td align="center"><a href="https://github.com/PlatinBae"><img src="https://avatars.githubusercontent.com/u/50950966?v=4?s=100" width="100px;" alt=""/><br /><sub><b>PlatinBae</b></sub></a><br /><a href="https://github.com/sapphiredev/plugins/commits?author=PlatinBae" title="Documentation">📖</a></td>
|
|
190
190
|
<td align="center"><a href="https://kaname.netlify.app"><img src="https://avatars.githubusercontent.com/u/56084970?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Kaname</b></sub></a><br /><a href="https://github.com/sapphiredev/plugins/commits?author=kaname-png" title="Code">💻</a> <a href="https://github.com/sapphiredev/plugins/commits?author=kaname-png" title="Documentation">📖</a></td>
|
|
191
191
|
<td align="center"><a href="https://github.com/noftaly"><img src="https://avatars.githubusercontent.com/u/34779161?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Elliot</b></sub></a><br /><a href="https://github.com/sapphiredev/plugins/commits?author=noftaly" title="Code">💻</a></td>
|
|
192
|
-
<td align="center"><a href="https://github.com/Lioness100"><img src="https://avatars.githubusercontent.com/u/65814829?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Lioness100</b></sub></a><br /><a href="https://github.com/sapphiredev/plugins/commits?author=Lioness100" title="Code">💻</a></td>
|
|
192
|
+
<td align="center"><a href="https://github.com/Lioness100"><img src="https://avatars.githubusercontent.com/u/65814829?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Lioness100</b></sub></a><br /><a href="https://github.com/sapphiredev/plugins/commits?author=Lioness100" title="Code">💻</a> <a href="https://github.com/sapphiredev/plugins/commits?author=Lioness100" title="Documentation">📖</a></td>
|
|
193
193
|
<td align="center"><a href="https://github.com/UndiedGamer"><img src="https://avatars.githubusercontent.com/u/84702365?v=4?s=100" width="100px;" alt=""/><br /><sub><b>UndiedGamer</b></sub></a><br /><a href="https://github.com/sapphiredev/plugins/commits?author=UndiedGamer" title="Code">💻</a></td>
|
|
194
194
|
</tr>
|
|
195
195
|
</table>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sapphire/plugin-i18next",
|
|
3
|
-
"version": "2.0.0",
|
|
3
|
+
"version": "2.0.2-next.58cff52c.0",
|
|
4
4
|
"description": "Plugin for @sapphire/framework to support i18next.",
|
|
5
5
|
"author": "@sapphire",
|
|
6
6
|
"license": "MIT",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"prepublishOnly": "yarn build"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@sapphire/utilities": "^3.0.
|
|
37
|
+
"@sapphire/utilities": "^3.0.4",
|
|
38
38
|
"@types/i18next-fs-backend": "^1.1.2",
|
|
39
|
-
"i18next": "^21.3.
|
|
39
|
+
"i18next": "^21.3.2",
|
|
40
40
|
"i18next-fs-backend": "^1.1.1",
|
|
41
41
|
"tslib": "^2.3.1"
|
|
42
42
|
},
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"register.*"
|
|
52
52
|
],
|
|
53
53
|
"engines": {
|
|
54
|
-
"node": ">=v14.
|
|
55
|
-
"npm": ">=7.
|
|
54
|
+
"node": ">=v14.0.0",
|
|
55
|
+
"npm": ">=7.0.0"
|
|
56
56
|
},
|
|
57
57
|
"keywords": [
|
|
58
58
|
"sapphiredev",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"publishConfig": {
|
|
73
73
|
"access": "public"
|
|
74
74
|
},
|
|
75
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "58cff52c06cbf3188b40bd536a72e4c32805ffda"
|
|
76
76
|
}
|