Skip to content

MagnificentPako/botpress-simplecommands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

botpress install simplecommands

Usage

bp.addCommand("help", "discord", (event, next, args) => {
  var msg = ""
  if(args.length === 0) {
    msg = "There's no help available right now."
  }else{
    msg = "You don't need help with " + args[0] + "."
  }
  bp.discord.sendText(event.channel.id, msg)
})

bp.addCommand("help", "irc", (event, next, args) => {
  bp.irc.sendMessage(event.channel, "There's no help available right now.")
})

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published