Advertisement
Guest User

Error Get Parent Name

a guest
Feb 22nd, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. Error : Cannot read property 'name' of null
  2.  
  3. Line : const channels = guild.channels.filter(channel => channel.type == "voice" && channel.parent.name == "CLOCK");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement