Discord How To Change Name

Discord How To Change Name Rating: 3,9/5 5474 votes
  1. Discord How To Change Name Of Game Reddit
  2. Discord How To Change Name Of Role

I've been looking for the solution to this for a while and even tried my own. I'm trying to change Discord to always show my custom message, but when I play games like Rocket league and LoL the game's name goes over my message.

Discord

Those are verified games so I can't change the name for those, I also can't change the file now for league because then the client won't work and idk what other files to change if I do change that. If you could help I would appreciate it but seems like there's no solution.

And fyi, making a discord bot is pretty simple, and if you don't know how to code. There is a permission for roles to change nickname. (that way mee6 can do it whenever somone joins. So it changes his name automaticly).

DiscordRobotnikColor
27.4k43 gold badges132 silver badges232 bronze badges
GyronismGyronism

1 Answer

Discord by default will show what game you're playing because it keeps a database of common game executables and their corresponding games (i.e., if there's a program running on your computer called 'LeagueOfLegends.exe', Discord knows to write 'Playing League of Legends' as your status). However, if you've ever played a more obscure game, you may notice that Discord does not automatically update your status at all. This is because Discord does not recognize the game's executable, or it doesn't have the game title in the database.

You are able to tell Discord which programs are 'games' and what those game names are. The process is detailed on their blog. Basically, while a program is running, you can select it from within Discord and give the executable a name. Then, whenever that program is running, Discord will update your status message.

Discord How To Change Name Of Game Reddit

This only works with games that are not already verified. Most popular games are already recognized, so you won't be able to customize a League of Legends message. However, it sounds like you want a custom message for when you're not playing games. If that's the case, there's a kind of hack to work around that - just add Notepad (the windows text editor) or some other lightweight program to Discord's list of 'games', then edit it's name to your status. Whenever you want to display that status, just open Notepad.

Mage XyMage Xy
14.1k3 gold badges58 silver badges102 bronze badges

Not the answer you're looking for? Browse other questions tagged discord or ask your own question.

I have been trying to create a command via a discord bot in C# that allows people to change another user's nickname and then sends a PM to the admins reporting that the user's nickname has changed and who was responsible for changing the name. Everything is working except for the actual nickname changing. The code I have tried to use to accomplish this is

But it says that I can't do this because it is read only. Does anyone know of an alternative way to change a user's nickname?

Edit: I am only trying to change the nickname not Username and the bot in question does have Administrator permissions. The above code does not compile and I was asking if there was an alternative way of doing it.

Thanks.

Discord How To Change Name Of Role

Killy666
Killy666Killy666

2 Answers

More than likely has to look like this.

Not sure which version you're using, but here is an example.

I wrote this one for you, but I hope you understand how this works, should you make another command with a similar function.

We're adding two parameters to the command, user and newname. The reason newname is unparsed, while user isn't, is because in user you can mention the user, or write it in plain text. However, user can't contain spaces, so your best option would be to mention the user if it contains spaces, or copy-paste his current display name. newname is unparsed, because it can contain spaces.

You can't have two unparsed parameters in one command, as only the first one will be given a value no matter the length of your message, it will be unreachable.

Planescape torment enhanced edition download. Remember, the user needs to be online if you are to change his nickname.

I'll give you an example on how e.GetArg() works. Writing a simple command to make the bot say whatever you tell it to.

Usage: !say Hello, this works., would make the bot say Hello, this works.. And naturally, the parameter has to be unparsed, because the message contains spaces. If you have any questions, feel free to ask.

RonaldRonald

The bot should need the 'Manage Nickname' permission or the 'Administrator' permission to change the nickname of someone on the server.

Remember, this only allows you to change the nickname of the person on the server, not their global discord name.

The issue might be originating there, as the bot's trying to do something it's not allowed to do.

ocelotocelot

Not the answer you're looking for? Browse other questions tagged c#discord or ask your own question.