Skip to content

Commit df4e247

Browse files
committed
Deepsource
1 parent 7d728e2 commit df4e247

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

commands/owner/csCreateChannels.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function create_default_embed(
3434
}
3535

3636
function cleanRoleString(role_name: string): string {
37-
let clean_role_name: string = role_name
37+
const clean_role_name: string = role_name
3838
.toLowerCase()
3939
.replace(/[`~!@#$%^&*))|+=?;:'",.<>\{\}\[\]\\\/]/gi, "")
4040
.replace(/[ (]/gi, "-");

utils/channelUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export async function createTextChannel(
3636
category_name?: string
3737
) {
3838
//Determine which arg to use
39-
let channel_parent: CategoryChannel | undefined = undefined;
39+
let channel_parent: CategoryChannel | undefined;
4040
if (category !== undefined) {
4141
channel_parent = category;
4242
} else if (category_name !== undefined) {

0 commit comments

Comments
 (0)