/reasoning-set: fix at argument

35e8561bff72690bb52b78daabed68f8798b0d70

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
public/scripts/reasoning.js+1 -1
@@ -146,7 +146,7 @@ function registerReasoningSlashCommands() {
146 }),146 }),
147 ],147 ],
148 callback: async (args, value) => {148 callback: async (args, value) => {
149 const messageId = !isNaN(Number(args[0])) ? Number(args[0]) : chat.length - 1;149 const messageId = !isNaN(Number(args.at)) ? Number(args.at) : chat.length - 1;
150 const message = chat[messageId];150 const message = chat[messageId];
151 if (!message?.extra) {151 if (!message?.extra) {
152 return '';152 return '';