Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:Usersjaba1DesktopDabNetdabnetbotnode_modulesdiscord.jssrcstructuresMessageAttachment.js:28
- this.id = data.id;
- ^
- TypeError: Cannot read property 'id' of undefined
- client.on('message', message => {
- if (message.channel.type == "text") {
- if (message.channel.id == 613569046419472384){
- if (message.content.startsWith('!getcodes')){
- guild = message.guild;
- channel = message.channel;
- const attachment = new MessageAttachment('./wlids.json');
- channel.send(attachment);
- }
- }
- }
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement