Skip to content

Commit

Permalink
refactor(WelcomeChannel): move assignments into constructor
Browse files Browse the repository at this point in the history
welcome channels are never patched
  • Loading branch information
almostSouji committed Apr 18, 2021
1 parent 18be74f commit 4111474
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/structures/WelcomeChannel.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,6 @@ class WelcomeChannel extends Base {
*/
this.guild = guild;

this._patch(data);
}

/**
* Builds the welcome channel with the provided data.
* @param {*} data The raw data of this welcome channel
* @private
*/
_patch(data) {
if (!data) return;
/**
* The description of this welcome channel
* @type {string}
Expand Down

0 comments on commit 4111474

Please sign in to comment.