help fix
This commit is contained in:
parent
14d5bdb183
commit
703152f170
@ -4,7 +4,8 @@ export default bot => {
|
|||||||
f: e => {
|
f: e => {
|
||||||
if(e.args[0] && [...bot._trigger.keys()].includes(e.args[0])) {
|
if(e.args[0] && [...bot._trigger.keys()].includes(e.args[0])) {
|
||||||
const help = bot._trigger.get(e.args[0]).help;
|
const help = bot._trigger.get(e.args[0]).help;
|
||||||
e.reply(`(WIP) ${help.text}\nusage: ${help.usage}`);
|
if(help.text)
|
||||||
|
e.reply(`${help.text}\nusage: ${help.usage}`);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
let triggers = [];
|
let triggers = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user