mirror of
https://github.com/discordjs/discord.js.git
synced 2026-06-15 19:08:20 +00:00
fix(GuildChannel): make setTopic argument nullable (#4875)
This commit is contained in:
Vendored
+1
-1
@@ -821,7 +821,7 @@ declare module 'discord.js' {
|
||||
options?: { lockPermissions?: boolean; reason?: string },
|
||||
): Promise<this>;
|
||||
public setPosition(position: number, options?: { relative?: boolean; reason?: string }): Promise<this>;
|
||||
public setTopic(topic: string, reason?: string): Promise<this>;
|
||||
public setTopic(topic: string | null, reason?: string): Promise<this>;
|
||||
public updateOverwrite(
|
||||
userOrRole: RoleResolvable | UserResolvable,
|
||||
options: PermissionOverwriteOption,
|
||||
|
||||
Reference in New Issue
Block a user