revert: "fix(GuildEmojiManager): check for guild in methods that use it" (#4912)

This reverts commit 728b3f939c.
This commit is contained in:
Noel
2020-10-17 15:46:10 +02:00
committed by GitHub
parent 728b3f939c
commit 89feedad98
3 changed files with 4 additions and 8 deletions

2
typings/index.d.ts vendored
View File

@@ -1917,7 +1917,7 @@ declare module 'discord.js' {
export class GuildEmojiManager extends BaseManager<Snowflake, GuildEmoji, EmojiResolvable> {
constructor(guild: Guild, iterable?: Iterable<any>);
public guild: Guild | null;
public guild: Guild;
public create(
attachment: BufferResolvable | Base64Resolvable,
name: string,