Make reason parameter optional

This commit is contained in:
ayntee
2020-11-12 23:25:00 +04:00
parent 4ec74fb36d
commit 67b9dc96b4
+1 -1
View File
@@ -329,7 +329,7 @@ function processEditChannelQueue() {
export async function editChannel(
channelID: string,
options: ChannelEditOptions,
reason: string,
reason?: string,
) {
const hasManageChannelsPerm = await botHasChannelPermissions(
channelID,