File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -412,7 +412,7 @@ class GuildChannel extends Channel {
412412
413413 /**
414414 * Sets a new topic for the guild channel.
415- * @param {string } topic The new topic for the guild channel
415+ * @param {? string } topic The new topic for the guild channel
416416 * @param {string } [reason] Reason for changing the guild channel's topic
417417 * @returns {Promise<GuildChannel> }
418418 * @example
Original file line number Diff line number Diff line change @@ -821,7 +821,7 @@ declare module 'discord.js' {
821821 options ?: { lockPermissions ?: boolean ; reason ?: string } ,
822822 ) : Promise < this> ;
823823 public setPosition ( position : number , options ?: { relative ?: boolean ; reason ?: string } ) : Promise < this> ;
824- public setTopic ( topic : string , reason ?: string ) : Promise < this> ;
824+ public setTopic ( topic : string | null , reason ?: string ) : Promise < this> ;
825825 public updateOverwrite (
826826 userOrRole : RoleResolvable | UserResolvable ,
827827 options : PermissionOverwriteOption ,
You can’t perform that action at this time.
0 commit comments