Skip to content

Commit

Permalink
Forgot to save a file
Browse files Browse the repository at this point in the history
  • Loading branch information
HeadTriXz committed Apr 1, 2023
1 parent e1f3a82 commit c0dbef9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions lib/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -2084,7 +2084,7 @@ class Client extends EventEmitter {
*/
getRESTGuildMembers(guildID, options = {}) {
process.emitWarning("getRESTGuildMembers() is deprecated and will be removed in the future.", "DeprecationWarning");
return this.rest.getRESTGuildMembers(guildID, options);
return this.rest.getGuildMembers(guildID, options);
}

/**
Expand All @@ -2095,7 +2095,7 @@ class Client extends EventEmitter {
*/
getRESTGuildRoles(guildID) {
process.emitWarning("getRESTGuildRoles() is deprecated and will be removed in the future.", "DeprecationWarning");
return this.rest.getRESTGuildRoles(guildID);
return this.rest.getGuildRoles(guildID);
}

/**
Expand All @@ -2109,7 +2109,7 @@ class Client extends EventEmitter {
*/
getRESTGuilds(options = {}) {
process.emitWarning("getRESTGuilds() is deprecated and will be removed in the future.", "DeprecationWarning");
return this.rest.getRESTGuilds(options);
return this.rest.getGuilds(options);
}

/**
Expand All @@ -2123,7 +2123,7 @@ class Client extends EventEmitter {
*/
getRESTGuildScheduledEvent(guildID, eventID, options = {}) {
process.emitWarning("getRESTGuildScheduledEvent() is deprecated and will be removed in the future.", "DeprecationWarning");
return this.rest.getRESTGuildScheduledEvent(guildID, eventID, options);
return this.rest.getGuildScheduledEvent(guildID, eventID, options);
}

/**
Expand All @@ -2135,7 +2135,7 @@ class Client extends EventEmitter {
*/
getRESTGuildSticker(guildID, stickerID) {
process.emitWarning("getRESTGuildSticker() is deprecated and will be removed in the future.", "DeprecationWarning");
return this.rest.getRESTGuildSticker(guildID, stickerID);
return this.rest.getGuildSticker(guildID, stickerID);
}

/**
Expand All @@ -2146,7 +2146,7 @@ class Client extends EventEmitter {
*/
getRESTGuildStickers(guildID) {
process.emitWarning("getRESTGuildStickers() is deprecated and will be removed in the future.", "DeprecationWarning");
return this.rest.getRESTGuildStickers(guildID);
return this.rest.getGuildStickers(guildID);
}

/**
Expand All @@ -2157,7 +2157,7 @@ class Client extends EventEmitter {
*/
getRESTSticker(stickerID) {
process.emitWarning("getRESTSticker() is deprecated and will be removed in the future.", "DeprecationWarning");
return this.rest.getRESTSticker(stickerID);
return this.rest.getSticker(stickerID);
}

/**
Expand All @@ -2168,7 +2168,7 @@ class Client extends EventEmitter {
*/
getRESTUser(userID) {
process.emitWarning("getRESTUser() is deprecated and will be removed in the future.", "DeprecationWarning");
return this.rest.getRESTUser(userID);
return this.rest.getUser(userID);
}

/**
Expand Down

0 comments on commit c0dbef9

Please sign in to comment.