Fixed token text error.

This commit is contained in:
Niels Simenon 2023-04-09 15:48:30 +02:00
parent d4edbfda7a
commit 4b8077f7e7
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ async function onCommand(args, context) {
if (['tokens', 'credit'].includes(context.subcommand)) { if (['tokens', 'credit'].includes(context.subcommand)) {
const tokens = await getTokens(context); const tokens = await getTokens(context);
context.sendMessage(`You have used ${config.chat.userTokenLimit - tokens} chat tokens remaining. They will be returned gradually over ${config.chat.userTokenPeriod} hours.`, context.room.id, { label: false }); context.sendMessage(`You have ${config.chat.userTokenLimit - tokens} chat tokens remaining. They will be returned gradually over ${config.chat.userTokenPeriod} hours.`, context.room.id, { label: false });
return; return;
} }