Skip to content

Commit

Permalink
fix: i18n in help command
Browse files Browse the repository at this point in the history
  • Loading branch information
fengkx authored Dec 2, 2019
1 parent a637b1d commit 809eb6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ bot.command('start', sendError, async (ctx) => {

bot.command('help', sendError, async (ctx) => {
let builder = [];
const { lang } = ctx.state;
builder.push(i18n[lang]['SUB_USAGE']);
builder.push(i18n[lang]['UNSUB_USAGE']);
builder.push(i18n[lang]['RSS_USAGE']);
Expand Down

0 comments on commit 809eb6e

Please sign in to comment.