Is it possible to mute someone using a var

what i mean by that is this
await timeoutTarget.timeout(muteTime);
await timeoutTarget.timeout(muteTime);
muteTime is a var being set with a specific time amount designated by the user of command
9 Replies
d.js toolkit
d.js toolkit7mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
Sora
SoraOP7mo ago
so it is possible? :thinkGlasses: oh ok i didnt understand that cuz i'm half asleep mb :goofyskull:
felix2336
felix23367mo ago
just use the number option in the slash command
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
felix2336
felix23367mo ago
alright then use it with prefix command using third arg or something
!timeout <target> <reason> <time>
!timeout <target> <reason> <time>
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
felix2336
felix23367mo ago
u sure?
No description
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
Sora
SoraOP7mo ago
like 6 days later i figured it out
Want results from more Discord servers?
Add your server