Start of context menus
diff --git a/src/commands/mod/slowmode.ts b/src/commands/mod/slowmode.ts
index 3e883b3..b565deb 100644
--- a/src/commands/mod/slowmode.ts
+++ b/src/commands/mod/slowmode.ts
@@ -34,7 +34,7 @@
         );
 
 const callback = async (interaction: CommandInteraction): Promise<void> => {
-    let time = parseInt(interaction.options.getString("time") ?? "0");
+    let time = parseInt(interaction.options.get("time")?.value as string || "0");
     if (time === 0 && (interaction.channel as TextChannel).rateLimitPerUser === 0) {
         time = 10;
     }
@@ -91,10 +91,9 @@
 const check = (interaction: CommandInteraction) => {
     const member = interaction.member as GuildMember;
     // Check if Nucleus can set the slowmode
-    if (!interaction.guild.me.permissions.has("MANAGE_CHANNELS"))
-        throw new Error("I do not have the *Manage Channels* permission");
+    if (!interaction.guild!.members.me!.permissions.has("ManageChannels")) throw new Error("I do not have the *Manage Channels* permission");
     // Check if the user has manage_channel permission
-    if (!member.permissions.has("MANAGE_CHANNELS")) throw new Error("You do not have the *Manage Channels* permission");
+    if (!member.permissions.has("ManageChannels")) throw new Error("You do not have the *Manage Channels* permission");
     // Allow slowmode
     return true;
 };