Cannot read property 'extend' of undefined
FellGill opened this issue · 1 comments
FellGill commented
Describe the issue
I can not launch the bot because I have an error that appears in the console:
module.exports = Structures.extend('Guild', Guild => {
^
TypeError: Cannot read property 'extend' of undefined
Code or steps to reproduce
const { Client } = require('klasa');
new Client({
clientOptions: {
fetchAllMembers: false
},
prefix: '+',
cmdEditing: true,
typing: true,
readyMessage: (client) => `${client.user.tag}, Ready to serve ${client.guilds.size} guilds and ${client.users.size} users`
}).login('bot token');
Further details
- discord.js version: ^11.5.1
- node.js version: v10.15.3
- Klasa version: dirigeants/klasa
FellGill commented
Ok, i use github:discordjs/discord.js#master and is good