C
C#2w ago
SeSo Arda

The embed log with the webhook for name changes shows the old name as null — that's the issue

In the code I wrote in Form1.cs, there's an issue: the variable "oldNick" is incorrect. When the bot starts or is already running, if a member's name is changed, "oldNick" becomes null (i.e., not registered). But I don't want it to work like that. If a member's nickname is empty, I want it to assign the "global name" instead. If the nickname is set (i.e., the name has already been changed), then I want it to use the nickname.
2 Replies
SeSo Arda
SeSo ArdaOP2w ago
BlazeBin - jcsikvjbwwun
A tool for sharing your source code with the world!
Unknown User
Unknown User7d ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?