Skip to content

Commit

Permalink
added task commaqnd to the help section
Browse files Browse the repository at this point in the history
  • Loading branch information
JShep89 committed Sep 7, 2019
1 parent 1b2a4db commit fc96b12
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion src/commands/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,15 @@ const helpMessage = function(config, botname, param)
args: "",
example: ""
}) +
helpSection({
config: config,
title: "Channel Tasks",
icon: ":robot:",
cmd: "Tasks",
help: "Tasks",
args: "",
example: ""
}) +
helpSection({
config: config,
title: "ReadMe",
Expand Down Expand Up @@ -335,6 +344,19 @@ const helpMessage = function(config, botname, param)
`> ${cmd} settings disconnect \n` +
"```";

// ------------------------------
// Tasks
// ------------------------------

const tasks =
`__**Channel Tasks**__\n\n` +
`Displays current channel translation tasks` +
"```md\n" +

`# Current Channel Tasks\n` +
`> ${cmd} tasks \n` +
"```";

// ------------------------------
// Proccess result
// ------------------------------
Expand All @@ -349,7 +371,8 @@ const helpMessage = function(config, botname, param)
"stop": stop,
"misc": misc,
"settings": settings,
"readme": readme
"readme": readme,
"tasks": tasks
};

//if (paramMap.hasOwnProperty(param))
Expand Down

0 comments on commit fc96b12

Please sign in to comment.