Rename
Function to rename members in your discord however you want and need.
This system is to help organize your discord, for example: I have a server, the user connects to it and I want to standardize the name of the users in discord with the data they have within the server. This will be used for queries, member control, punishments and the like and you can send this information just as you would normally send a standard discord webhook.
INFO
All information sent before reaching the Bot execution is sent to an internal API, if the bot is not available for any discord or structural instability, on its return, the bot will normally send everything that has been lost thus ensuring that no information will be lost.
⚠️ Before you configure, remember:
Need to configure the service through the Account Management Channel on our Discord. After configuring, and declare the IP of your machine any requested machine to our API will be running normally.
How to use:
The structure is simple and easy, there is not much to explain, send a webhook in the way you want to the user to log into your server and the bot will rename it if it is within your discord.
Link to this function:
https://api.disclog.my/rename/server_id/channel_log
Replace the server_id to the SERVER ID for the bot to query for the user on the server id sent.
OPTIONAL
Replace channel_log with the CHANNEL ID you want the bot to send the rename logs to. Remember that the BOT must be in the same discord as the CHANNEL.
By following this link, what needs to be sent is just:
{
"name": "nome para ser renomeado",
"user": "id discord do usuário"
}
In this way as in the example below, sending to:
https://api.disclog.my/rename/123456789012345/543120987654321
The BOT will search the server with ID 123456789012345 for the user following the configuration sent and will place the log in the channel with ID 543120987654321:
{
"name": "#1 Lucas Lisboa",
"user": "160518471002750976"
}
INFO
or this function to work, the BOT must be on the server that the ID was sent to. Otherwise, it will just ignore the request.
INFO
The log of this function will only work if the log channel is sent and it is found by the bot, otherwise the log will only be visible through the audit log.