diff --git a/src/Giveaway.js b/src/Giveaway.js index e6569514..b0cc3185 100644 --- a/src/Giveaway.js +++ b/src/Giveaway.js @@ -91,7 +91,7 @@ class Giveaway extends EventEmitter { * The URL appearing as the thumbnail on the giveaway embed. * @type {string} */ - this.thumbnail = options.thumbnail; + this.thumbnail = options.thumbnail; /** * Extra data concerning this giveaway * @type {any} diff --git a/src/Manager.js b/src/Manager.js index 5c62d1ab..4972e58a 100644 --- a/src/Manager.js +++ b/src/Manager.js @@ -49,6 +49,7 @@ class GiveawaysManager extends EventEmitter { * @type {GiveawaysManagerOptions} */ this.options = merge(defaultManagerOptions, options); + if (new Discord.Intents(this.client.options.intents || this.client.options.ws.intents).has('GUILD_MEMBERS')) this.options.hasGuildMemberIntent = true; if (init) this._init(); }