Fixed token text error.
This commit is contained in:
@@ -156,7 +156,7 @@ async function onCommand(args, context) {
|
||||
|
||||
if (['tokens', 'credit'].includes(context.subcommand)) {
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user