MartinBot

Untitled

Nov 22nd, 2017
611
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. module.exports = {
  2. name: "SampleCommand",
  3.  
  4. exec: function(data){
  5.  
  6. if(typeof data === "undefined") return;
  7.  
  8. var username = data.username,
  9. channelName = data.channelName,
  10. parameters = data.parameters;
  11.  
  12.  
  13. if(channelName != "korean"){
  14. return;
  15. }
  16.  
  17. require("../bot.js").dexonbot.webClient.doSay("A Sample Command", channelName);
  18.  
  19. }
  20. };
Advertisement
Add Comment
Please, Sign In to add comment