add pocket alias to getinv command

This commit is contained in:
2025-08-26 23:47:48 +02:00
parent 95cbdccd8c
commit e3f04bfe07
2 changed files with 2 additions and 2 deletions

View File

@@ -93,7 +93,7 @@ COMMAND|FUNCTION|USER|ALIASES|DISABLEABLE
`getbalance [target]`|Get balance of target or self|anyone|`getbalance` `balance` `qbucks` `qweribucks` `wallet` `getwallet`|:white_check_mark:
`donate {target} {amount}`|Give the targeted user some or all of your qweribucks|anyone|`donate`|:white_check_mark:
`iteminfo {item}`|Get item function and aliases|anyone|`iteminfo` `itemhelp` `info`|:white_check_mark:
`inventory [target]`|Get inventory contents of target or self|anyone|`inventory` `inv`|:white_check_mark:
`inventory [target]`|Get inventory contents of target or self|anyone|`inventory` `inv` `pocket`|:white_check_mark:
`give {target} {item} {amount}`|Give targeted user amount of items|anyone|`give`|:white_check_mark:
`use {item} ...`|Use item. More info at [The items section](#items)|anyone|`use`|:x:
`admindonate {target} {amount}`|Gives the targeted user amount of qweribucks|admins|`admindonate`|:white_check_mark:

View File

@@ -4,7 +4,7 @@ import parseCommandArgs from "lib/parseCommandArgs";
import User from "user";
import items from "items";
export default new Command('inventory', ['inv', 'inventory'], 'chatter', async (msg, user) => {
export default new Command('inventory', ['inv', 'inventory', 'pocket'], 'chatter', async (msg, user) => {
const args = parseCommandArgs(msg.messageText);
let target: User = user;
if (args[0]) {