Categories > Coding > Javascript >

Discord bot || Mute command

LOLAG4NG

Poggers

Posts: 20

Threads: 1

Joined: Jan, 2021

Reputation: -20

Posted

I need help making a discord bot mute command but it first checks the permissions because I am kind of stuck please help! Thanks!

  • 0

"This is a lolagang exclusive" - LOLAG4NG

I can't believe you guys haven't heard of te cutest dog to exist
ITS LOLA

Posts: 146

Threads: 9

Joined: Nov, 2020

Reputation: -22

Replied

why

Content length must be 10-5000 chars

  • 0

My website: https://rebrand.ly/Baconnetic-new-website

My discord: top.gg/servers/758772274236096573

if you are reading this, i want to say that i left wrd because of goooogle.

LOLAG4NG

Poggers

Posts: 20

Threads: 1

Joined: Jan, 2021

Reputation: -20

Replied

@63564The good question is why aren't you leaving? LEAVE ALREADY

  • 0

"This is a lolagang exclusive" - LOLAG4NG

I can't believe you guys haven't heard of te cutest dog to exist
ITS LOLA

Glock

Glock

Posts: 19

Threads: 0

Joined: Jul, 2020

Reputation: 2

Replied

first you gotta check if the member has roles so you can go to
This link right here for documentation on that.

you can define the roles if you go to discord.js.org and find Message.guild.roles.

This is a short explanation because i dont really wanna share a whole piece of code when you could literally look this up but /shrug

you can use the npm package "ms" and set a timeout function to the time you gave it whatever you defined "args" as the first item in array, etc

  • 0

delete this forum

Hectique

Hectique

Posts: 1307

Threads: 186

Joined: Nov, 2019

Reputation: 14

Replied

Just ask wabz, He's a JS powerhouse and he can help you with Discord bots and any of the sort.

  • 0

a former active and known member of the WRD community, but im kinda just a meme now

Ducxy

Eclipse Cheats, LLC.

vip

Posts: 679

Threads: 103

Joined: Mar, 2019

Reputation: 37

Replied

Welcome | discord.js

 

this will help you. So will YouTube

  • 0

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )