Avatars

If avatars in the Admin Menu are not working, that's probably because you didn't set your discord bot token. Here is a simple guide on how to do it.

1

Create Discord application

Go to the https://discord.com/developers/applications and create new application.

2

Copy your Bot Token

Go to the "Bot" page and copy your bot token.

3

Paste your Discord Bot Token in config_server.lua

config_server.lua
-- You need to set these values if you want to use discord permissions and avatars.
local DISCORD_GUILD_ID = ''
local DISCORD_BOT_TOKEN = '' -- <- HERE
4

Add the Bot to your discord server

  1. Go to the OAuth2 page and select "bot" scope

  2. Open generated link and authorize bot on your server.

5

Set the Guild ID

Copy the Server ID and paste it in config_server.lua

config_server.lua
-- You need to set these values if you want to use discord permissions and avatars.
local DISCORD_GUILD_ID = ''  -- <- HERE
local DISCORD_BOT_TOKEN = ''
6

Done

And that's it :) If you carefully followed previous steps, the Discord avatars should work now.

Last updated