
And mute command is done! Please read more about all the mentioned modules and other methods from given references it will help for better understanding. Mute_role = (, name='Mute')Īwait nd("You were muted for reason: " + reason)Īwait ctx.send(f'") Step 2: Enable Developer Mode inside the User Settings. def mute(ctx, member: discord.Member = None, *, reason=None): Here’s a simple 3-step guide on how to find a Discord server ID: Step 1: Open your Discord profile. Otherwise, but a more extensive way would be to store the role id from the server in a database so you wouldn't have to create the role and the bot would only make it once, then apply the role, but it's something you can find out. You would need to create a role called Mute or whatever you want it to be with the role permissions prior setting it up. You can follow the same method to find the ID using the Discord mobile app as well.Here I have made a simple way to create a role each time you use the mute command. Follow this guide to find server ID in Discord. Similar to user ID, Discord also has uniquely identifiable message ID and Server ID as well. As long as you have the username of the person on Discord, you can easily find the ID. Using the simple steps mentioned above, you can find the username of pretty much any person on Discord. Similar to what we did earlier, paste the copied content somewhere and you will find the Discord ID of any person.Clicking on the Copy ID button will copy the username ID to the clipboard.

Once found, simply right click on the username and you will find a new option called Copy ID.Go to the member’s section and look for the username of the person, whose user ID you want to find.Go to the server from which you want to find people’s Discord ID.Follow, the steps mentioned below to find the user ID of other people on Discord. At times, we might want to find the user ID of other people on Discord. How to Find Any Users’ Discord IDĮarlier, we saw how to find the user ID of your Discord account.

Your Discord ID is the only bit of your account that must be unique. And every Discord user has a Discord ID, which is an 18-digit number associated with their account. This is how easily you can find your Discord User ID. It’s easy to customize your Discord account in a lot of ways, like your username and nickname.
