SeSo Arda
SeSo Arda
CC#
Created by SeSo Arda on 4/14/2025 in #help
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.
4 replies