help system
This commit is contained in:
@@ -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 \\________`);
|
||||
}
|
||||
|
Reference in New Issue
Block a user