Document that -0 is supported
| @@ -269,7 +269,7 @@ export function initDefaultSlashCommands() { | ||
| 269 | 269 | }), |
| 270 | 270 | SlashCommandNamedArgument.fromProps({ |
| 271 | 271 | name: 'at', |
| 272 | 272 | 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.', |
| 273 | 273 | typeList: [ARGUMENT_TYPE.NUMBER], |
| 274 | 274 | enumProvider: commonEnumProviders.messages({ allowIdAfter: true }), |
| 275 | 275 | }), |
| @@ -325,7 +325,7 @@ export function initDefaultSlashCommands() { | ||
| 325 | 325 | ), |
| 326 | 326 | SlashCommandNamedArgument.fromProps({ |
| 327 | 327 | name: 'at', |
| 328 | 328 | 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.', |
| 329 | 329 | typeList: [ARGUMENT_TYPE.NUMBER], |
| 330 | 330 | enumProvider: commonEnumProviders.messages({ allowIdAfter: true }), |
| 331 | 331 | }), |
| @@ -388,7 +388,7 @@ export function initDefaultSlashCommands() { | ||
| 388 | 388 | ), |
| 389 | 389 | SlashCommandNamedArgument.fromProps({ |
| 390 | 390 | name: 'at', |
| 391 | 391 | 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.', |
| 392 | 392 | typeList: [ARGUMENT_TYPE.NUMBER], |
| 393 | 393 | enumProvider: commonEnumProviders.messages({ allowIdAfter: true }), |
| 394 | 394 | }), |
| @@ -606,7 +606,7 @@ export function initDefaultSlashCommands() { | ||
| 606 | 606 | ), |
| 607 | 607 | SlashCommandNamedArgument.fromProps({ |
| 608 | 608 | name: 'at', |
| 609 | 609 | 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.', |
| 610 | 610 | typeList: [ARGUMENT_TYPE.NUMBER], |
| 611 | 611 | enumProvider: commonEnumProviders.messages({ allowIdAfter: true }), |
| 612 | 612 | }), |