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() {
117117function registerReasoningSlashCommands() {
118118 SlashCommandParser.addCommandObject(SlashCommand.fromProps({
119119 name: 'reasoning-get',
120+ aliases: ['get-reasoning'],
120121 returns: ARGUMENT_TYPE.STRING,
121122 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.`,
122123 unnamedArgumentList: [
@@ -136,6 +137,7 @@ function registerReasoningSlashCommands() {
136137
137138 SlashCommandParser.addCommandObject(SlashCommand.fromProps({
138139 name: 'reasoning-set',
140+ aliases: ['set-reasoning'],
139141 returns: ARGUMENT_TYPE.STRING,
140142 helpString: t`Set the reasoning block of a message. Returns the reasoning block content.`,
141143 namedArgumentList: [
@@ -170,6 +172,7 @@ function registerReasoningSlashCommands() {
170172
171173 SlashCommandParser.addCommandObject(SlashCommand.fromProps({
172174 name: 'reasoning-parse',
175+ aliases: ['parse-reasoning'],
173176 returns: 'reasoning string',
174177 helpString: t`Extracts the reasoning block from a string using the Reasoning Formatting settings.`,
175178 namedArgumentList: [