Fixed help command
This commit is contained in:
parent
9bf44c160a
commit
793822f3d0
|
@ -1,5 +1,5 @@
|
||||||
import {
|
import {
|
||||||
Command,
|
RestCommand,
|
||||||
NamedCommand,
|
NamedCommand,
|
||||||
CHANNEL_TYPE,
|
CHANNEL_TYPE,
|
||||||
getPermissionName,
|
getPermissionName,
|
||||||
|
@ -51,7 +51,7 @@ export default new NamedCommand({
|
||||||
.setColor(EMBED_COLOR);
|
.setColor(EMBED_COLOR);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
any: new Command({
|
any: new RestCommand({
|
||||||
async run({send, args}) {
|
async run({send, args}) {
|
||||||
const resultingBlob = await getCommandInfo(args);
|
const resultingBlob = await getCommandInfo(args);
|
||||||
if (typeof resultingBlob === "string") return send(resultingBlob);
|
if (typeof resultingBlob === "string") return send(resultingBlob);
|
||||||
|
|
Loading…
Reference in New Issue