Fixed token text error.
This commit is contained in:
parent
d4edbfda7a
commit
4b8077f7e7
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue