SHARE
TWEET

Untitled

a guest Mar 23rd, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var input = message.getContent()
  2. var toBan = guild.getUser(input.contains(" ") ? input.split(" ")[0] : input)
  3. if (toBan === null) {
  4.     channel.message("Please mention a user!")
  5.     return
  6. }
  7.  
  8. var banReqChannelId = "558940248877563924"
  9. var channel = guild.getTextChannel(banReqChannelId)
  10.  
  11. var embed = embeds.newEmbed()
  12. embed.setTitle("Ban Request");
  13. embed.addField("User to ban", toBan.getName(), false)
  14. embed.addField("User requesting", user.getName(), false)
  15.  
  16. channel.message(embed.build())
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top