LibertyCode
LibertyCode
  • Welcome
  • lc_adminmenu
    • Introduction
    • Installation
    • Avatars
    • Screenshots
    • Bridge
      • Server
      • Client
    • Player functions
    • Permissions
      • Permission Groups
      • Discord Permissions
    • Exports
Powered by GitBook
On this page
  • Create Discord application
  • Copy your Bot Token
  • Paste your token in config_server.lua
  • Add the Bot to your discord server
  • Set the Guild ID
  1. lc_adminmenu

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.

PreviousInstallationNextScreenshots

Last updated 17 days ago

1

Create Discord application

Go to the and create new application.

2

Copy your Bot Token

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

3

Paste your token in config_server.lua

config_server.lua
return {
    ...,
    DiscordBotToken = 'PASTE_BOT_TOKEN_HERE',
    DiscordGuildId = '',
}
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
return {
    ...,
    DiscordBotToken = 'MTM3Mjk3ODAzMDA1MzY.......',
    DiscordGuildId = 'PASTE_SERVER_ID_HERE',
}

And that's it, avatars should now work. If you still need help, please open a ticket on our discord server :)

https://discord.com/developers/applications
https://discord.gg/EUYnw93vKR