@kamkam1_0/discord.js
Version:
Allows you to fully interact with discord's apis
10 lines (9 loc) • 343 B
JavaScript
const guildBase = require("../../../structures/bases/baseguild")
class WebhookUpdate extends guildBase{
constructor(webhook, bot){
super(webhook, bot)
this.channel_id = webhook.channel_id || null
this.channel = this.channel_id ? this._bot.channels.get(this.channel_id) : null
}
}
module.exports = WebhookUpdate