diff --git a/README.md b/README.md index 7bd14dc..6a1d34f 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ COMMAND|FUNCTION|USER|ALIASES|DISABLEABLE `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: `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`|:white_check_mark: +`use {item} ...`|Use item. More info at [The items section](#items)|anyone|`use`|:x: `admingive {target} {item} {amount}`|Give targeted user amount of new items|admins|`admingive`|:white_check_mark: ### Administrative commands diff --git a/bot/commands/useitem.ts b/bot/commands/useitem.ts index 22fcfed..ed3761e 100644 --- a/bot/commands/useitem.ts +++ b/bot/commands/useitem.ts @@ -9,4 +9,4 @@ export default new Command('use', ['use'], 'chatter', async (msg, user) => { if (!selection) { await sendMessage(`'${messagequery[0]}' is not an item`, msg.messageId); return; }; if (await redis.sismember('disabledcommands', selection.name)) { await sendMessage(`The ${selection.prettyName} item is disabled`, msg.messageId); return; }; await selection.execute(msg, user); -}); +}, false);