Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove all user account features #1338

Merged
merged 8 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions esm.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export const {
AutocompleteInteraction,
Base,
Bucket,
Call,
CategoryChannel,
Channel,
Client,
Expand Down Expand Up @@ -45,7 +44,6 @@ export const {
PrivateChannel,
PrivateThreadChannel,
PublicThreadChannel,
Relationship,
RequestHandler,
Role,
SequentialBucket,
Expand Down
129 changes: 5 additions & 124 deletions index.d.ts

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Eris.ApplicationCommand = require("./lib/structures/ApplicationCommand");
Eris.AutocompleteInteraction = require("./lib/structures/AutocompleteInteraction");
Eris.Base = require("./lib/structures/Base");
Eris.Bucket = require("./lib/util/Bucket");
Eris.Call = require("./lib/structures/Call");
Eris.CategoryChannel = require("./lib/structures/CategoryChannel");
Eris.Channel = require("./lib/structures/Channel");
Eris.Client = Client;
Expand Down Expand Up @@ -46,7 +45,6 @@ Eris.PingInteraction = require("./lib/structures/PingInteraction");
Eris.PrivateChannel = require("./lib/structures/PrivateChannel");
Eris.PrivateThreadChannel = require("./lib/structures/PrivateThreadChannel");
Eris.PublicThreadChannel = require("./lib/structures/PublicThreadChannel");
Eris.Relationship = require("./lib/structures/Relationship");
Eris.RequestHandler = require("./lib/rest/RequestHandler");
Eris.Role = require("./lib/structures/Role");
Eris.SequentialBucket = require("./lib/util/SequentialBucket");
Expand Down
412 changes: 11 additions & 401 deletions lib/Client.js

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions lib/Constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,7 @@ module.exports.GatewayOPCodes = {
REQUEST_GUILD_MEMBERS: 8, GET_GUILD_MEMBERS: 8, // [DEPRECATED]
INVALID_SESSION: 9,
HELLO: 10,
HEARTBEAT_ACK: 11,
SYNC_GUILD: 12,
SYNC_CALL: 13
HEARTBEAT_ACK: 11
};

module.exports.GuildFeatures = [
Expand Down
34 changes: 17 additions & 17 deletions lib/command/Command.js
Original file line number Diff line number Diff line change
Expand Up @@ -514,34 +514,34 @@ class Command {

toJSON(props = []) {
return Base.prototype.toJSON.call(this, [
"parentCommand",
"label",
"description",
"fullDescription",
"usage",
"aliases",
"caseInsensitive",
"hooks",
"requirements",
"deleteCommand",
"argsRequired",
"guildOnly",
"dmOnly",
"caseInsensitive",
"cooldown",
"cooldownExclusions",
"restartCooldown",
"cooldownReturns",
"cooldownMessage",
"cooldownReturns",
"defaultSubcommandOptions",
"deleteCommand",
"description",
"dmOnly",
"errorMessage",
"execute",
"fullDescription",
"guildOnly",
"hidden",
"hooks",
"invalidUsageMessage",
"label",
"parentCommand",
"permissionMessage",
"errorMessage",
"reactionButtons",
"reactionButtonTimeout",
"execute",
"defaultSubcommandOptions",
"requirements",
"restartCooldown",
"subcommands",
"subcommandAliases",
"hidden",
"usage",
...props
]);
}
Expand Down
6 changes: 3 additions & 3 deletions lib/command/CommandClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -442,11 +442,11 @@ class CommandClient extends Client {

toJSON(props = []) {
return super.toJSON([
"activeMessages",
"commandAliases",
"commandOptions",
"guildPrefixes",
"commands",
"commandAliases",
"activeMessages",
"guildPrefixes",
...props
]);
}
Expand Down
Loading