help system

This commit is contained in:
Flummi
2017-12-04 17:40:24 +01:00
parent 61079e4000
commit d209b2b54e
8 changed files with 58 additions and 1 deletions

View File

@@ -15,6 +15,10 @@ Object.keys(data).forEach(cur => {
export default bot => {
bot._trigger.set("dope", new bot.trigger({
call: /^(\.|\/)dope/i,
help: {
text: "Smoke weed everyday",
usage: "[b].dope[/b] [i](<nick>)[/i]"
},
f: e => {
const strain_types = Object.keys(data.dope_strains);
const action_types = Object.keys(data.dope_actions);
@@ -28,6 +32,10 @@ export default bot => {
bot._trigger.set("meth", new bot.trigger({
call: /^(\.|\/)meth/i,
help: {
text: "Snort some meth *_*",
usage: "[b].meth[/b] [i](<nick>)[/i]"
},
f: e => {
e.replyAction(`legt [b]${e.args[0] || e.user.nick}[/b] eine dicke Line Meth \\________`);
}