Skip to content

Commit

Permalink
fix(time): bot lang set locale of time (#4041)
Browse files Browse the repository at this point in the history
  • Loading branch information
sogehige committed Aug 20, 2020
1 parent 0af966b commit cdf160b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bot/twitch.ts
Expand Up @@ -60,6 +60,7 @@ class Twitch extends Core {

@command('!time')
async time (opts: CommandOptions) {
moment.locale(general.lang);
return [ { response: prepare('time', { time: moment().tz(timezone).format('LTS') }), ...opts }];
}

Expand Down

0 comments on commit cdf160b

Please sign in to comment.