clothes-hangerDiscord Inegration

circle-info

Use your exports/trigger here if using any other appearance script

1

Enable discord integration

Config.UseDiscordRoles = true
2

Insert your bot token that is in your discord server

circle-info

create / mange your discord bot here Developer Portalarrow-up-right

Config.BotToken         = ("Bot %s"):format("insert_bot_token_here")
3

Set your discord server id

circle-info

How to get discord server id Guidearrow-up-right

Config.DiscordGuild     = "server_id"
4

Add discord roles

circle-info

Get discord role id Guidearrow-up-right

Config.DiscordRoles     = { 
	["role_id"] = {
		theme = "red",
		label = "Project",
		image = Config.ImagePath:format("dev"),
	},
	["another_role_id"] = {
		theme = "orange",
		label = "Staff",
		image = Config.ImagePath:format("staff"),
	},
}

Last updated