Document that -0 is supported

23e59a1189dda4a665a66c6ff290a3575fb4947b

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

1 files changed, +4 -4Ignore whitespace
public/scripts/slash-commands.js+4 -4
@@ -269,7 +269,7 @@ export function initDefaultSlashCommands() {
269269 }),
270270 SlashCommandNamedArgument.fromProps({
271271 name: 'at',
272272 description: 'position to insert the message (index-based, corresponding to message id). If not set, the message will be inserted at the end of the chat.\nNegative values (including -0) are accepted and will work similarly to how \'depth\' usually works. For example, -1 will insert the message right before the last message in chat.',
273273 typeList: [ARGUMENT_TYPE.NUMBER],
274274 enumProvider: commonEnumProviders.messages({ allowIdAfter: true }),
275275 }),
@@ -325,7 +325,7 @@ export function initDefaultSlashCommands() {
325325 ),
326326 SlashCommandNamedArgument.fromProps({
327327 name: 'at',
328328 description: 'position to insert the message (index-based, corresponding to message id). If not set, the message will be inserted at the end of the chat.\nNegative values (including -0) are accepted and will work similarly to how \'depth\' usually works. For example, -1 will insert the message right before the last message in chat.',
329329 typeList: [ARGUMENT_TYPE.NUMBER],
330330 enumProvider: commonEnumProviders.messages({ allowIdAfter: true }),
331331 }),
@@ -388,7 +388,7 @@ export function initDefaultSlashCommands() {
388388 ),
389389 SlashCommandNamedArgument.fromProps({
390390 name: 'at',
391391 description: 'position to insert the message (index-based, corresponding to message id). If not set, the message will be inserted at the end of the chat.\nNegative values (including -0) are accepted and will work similarly to how \'depth\' usually works. For example, -1 will insert the message right before the last message in chat.',
392392 typeList: [ARGUMENT_TYPE.NUMBER],
393393 enumProvider: commonEnumProviders.messages({ allowIdAfter: true }),
394394 }),
@@ -606,7 +606,7 @@ export function initDefaultSlashCommands() {
606606 ),
607607 SlashCommandNamedArgument.fromProps({
608608 name: 'at',
609609 description: 'position to insert the message (index-based, corresponding to message id). If not set, the message will be inserted at the end of the chat.\nNegative values (including -0) are accepted and will work similarly to how \'depth\' usually works. For example, -1 will insert the message right before the last message in chat.',
610610 typeList: [ARGUMENT_TYPE.NUMBER],
611611 enumProvider: commonEnumProviders.messages({ allowIdAfter: true }),
612612 }),