triggertest

This commit is contained in:
Flummi 2016-11-18 06:32:55 +01:00
parent 6611559b26
commit cd97c2938c

View File

@ -6,6 +6,7 @@ module.exports = (lib) => {
active: 1,
func: (e) => {
var output = "";
e.reply("Trigger in "+e.channel.getName()+" (green: activated, red: deactivated):");
lib.trigger.trigger.forEach(e => {
output += lib.bot.format.get( (e.active)?'green':'red' )+" "+e.name;
});