Skip to content

Commit

Permalink
Bump deps, lint
Browse files Browse the repository at this point in the history
  • Loading branch information
abalabahaha authored and mistval committed Apr 10, 2021
1 parent f8ca33e commit 39a46e8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
7 changes: 4 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2068,6 +2068,7 @@ declare namespace Eris {
addReaction(reaction: string, userID: string): Promise<void>;
crosspost(): Promise<T extends NewsChannel ? Message<NewsChannel> : never>;
delete(reason?: string): Promise<void>;
deleteWebhook(token: string): Promise<void>;
edit(content: MessageContent): Promise<Message<T>>;
editWebhook(token: string, options: MessageWebhookContent): Promise<Message<T>>;
getReaction(reaction: string, limit?: number, before?: string, after?: string): Promise<User[]>;
Expand All @@ -2076,7 +2077,7 @@ declare namespace Eris {
removeReactionEmoji(reaction: string): Promise<void>;
removeReactions(): Promise<void>;
unpin(): Promise<void>;
deleteWebhook(token: string): Promise<void>;

}

// News channel rate limit is always 0
Expand All @@ -2097,9 +2098,9 @@ declare namespace Eris {
export class Permission extends Base {
allow: number;
deny: number;
json: Record<keyof Constants['Permissions'], boolean>;
json: Record<keyof Constants["Permissions"], boolean>;
constructor(allow: number | string, deny: number | string);
has(permission: keyof Constants['Permissions']): boolean;
has(permission: keyof Constants["Permissions"]): boolean;
}

export class PermissionOverwrite extends Permission {
Expand Down
2 changes: 1 addition & 1 deletion lib/structures/Member.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class Member extends Base {
if(data.roles !== undefined) {
this.roles = data.roles;
}
if (data.pending !== undefined) {
if(data.pending !== undefined) {
this.pending = data.pending;
}
}
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@
"ws": "^7.2.1"
},
"devDependencies": {
"@types/node": "^8.10.63",
"@typescript-eslint/eslint-plugin": "^3.9.1",
"@typescript-eslint/parser": "^3.9.1",
"eslint": "^6.8.0",
"@types/node": "^14.14.35",
"@typescript-eslint/eslint-plugin": "^4.19.0",
"@typescript-eslint/parser": "^4.19.0",
"eslint": "^7.22.0",
"eslint-plugin-sort-class-members": "^1.8.0",
"typescript": "^4.2.2"
},
"optionalDependencies": {
"opusscript": "^0.0.7",
"opusscript": "^0.0.8",
"tweetnacl": "^1.0.1"
},
"browser": {
Expand Down

0 comments on commit 39a46e8

Please sign in to comment.