Add aliases for reasoning commands

ae376b4195eee98be1d9cf654b7a1b95afc833e8

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

1 files changed, +3 -0Ignore whitespace
public/scripts/reasoning.js+3 -0
@@ -117,6 +117,7 @@ function loadReasoningSettings() {
117function registerReasoningSlashCommands() {117function registerReasoningSlashCommands() {
118 SlashCommandParser.addCommandObject(SlashCommand.fromProps({118 SlashCommandParser.addCommandObject(SlashCommand.fromProps({
119 name: 'reasoning-get',119 name: 'reasoning-get',
120 aliases: ['get-reasoning'],
120 returns: ARGUMENT_TYPE.STRING,121 returns: ARGUMENT_TYPE.STRING,
121 helpString: t`Get the contents of a reasoning block of a message. Returns an empty string if the message does not have a reasoning block.`,122 helpString: t`Get the contents of a reasoning block of a message. Returns an empty string if the message does not have a reasoning block.`,
122 unnamedArgumentList: [123 unnamedArgumentList: [
@@ -136,6 +137,7 @@ function registerReasoningSlashCommands() {
136137
137 SlashCommandParser.addCommandObject(SlashCommand.fromProps({138 SlashCommandParser.addCommandObject(SlashCommand.fromProps({
138 name: 'reasoning-set',139 name: 'reasoning-set',
140 aliases: ['set-reasoning'],
139 returns: ARGUMENT_TYPE.STRING,141 returns: ARGUMENT_TYPE.STRING,
140 helpString: t`Set the reasoning block of a message. Returns the reasoning block content.`,142 helpString: t`Set the reasoning block of a message. Returns the reasoning block content.`,
141 namedArgumentList: [143 namedArgumentList: [
@@ -170,6 +172,7 @@ function registerReasoningSlashCommands() {
170172
171 SlashCommandParser.addCommandObject(SlashCommand.fromProps({173 SlashCommandParser.addCommandObject(SlashCommand.fromProps({
172 name: 'reasoning-parse',174 name: 'reasoning-parse',
175 aliases: ['parse-reasoning'],
173 returns: 'reasoning string',176 returns: 'reasoning string',
174 helpString: t`Extracts the reasoning block from a string using the Reasoning Formatting settings.`,177 helpString: t`Extracts the reasoning block from a string using the Reasoning Formatting settings.`,
175 namedArgumentList: [178 namedArgumentList: [