Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
sdf
Browse files Browse the repository at this point in the history
  • Loading branch information
KIO2gamer committed Feb 21, 2024
1 parent d67ba95 commit 72eb950
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/system/mute.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = {
async execute(interaction) {
const user = interaction.options.getUser("user");
const member = interaction.guild.members.cache.get(user.id);
const duration = interaction.options.getInteger("duration");
const duration = interaction.options.getString("duration");
const reason =
interaction.options.getString("reason") || "No reason provided";
if (
Expand Down

0 comments on commit 72eb950

Please sign in to comment.