mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
Make reason parameter optional
This commit is contained in:
@@ -329,7 +329,7 @@ function processEditChannelQueue() {
|
|||||||
export async function editChannel(
|
export async function editChannel(
|
||||||
channelID: string,
|
channelID: string,
|
||||||
options: ChannelEditOptions,
|
options: ChannelEditOptions,
|
||||||
reason: string,
|
reason?: string,
|
||||||
) {
|
) {
|
||||||
const hasManageChannelsPerm = await botHasChannelPermissions(
|
const hasManageChannelsPerm = await botHasChannelPermissions(
|
||||||
channelID,
|
channelID,
|
||||||
|
|||||||
Reference in New Issue
Block a user