diff --git a/lua/ulx/xgui/server/sv_discord.lua b/lua/ulx/xgui/server/sv_discord.lua index 822b0d3..1baa5fd 100644 --- a/lua/ulx/xgui/server/sv_discord.lua +++ b/lua/ulx/xgui/server/sv_discord.lua @@ -9,5 +9,15 @@ local function init() ULib.replicatedWritableCvar( "discord_auto_connect", "rep_discord_auto_connect", GetConVarNumber( "discord_auto_connect" ), true, true, "xgui_gmsettings" ) ULib.replicatedWritableCvar( "discord_debug", "rep_discord_debug", GetConVarNumber( "discord_debug" ), true, true, "xgui_gmsettings" ) ULib.replicatedWritableCvar( "discord_language", "rep_discord_language", GetConVarNumber( "discord_language" ), true, true, "xgui_gmsettings" ) + + util.AddNetworkString("connectDiscordID") + util.AddNetworkString("discordSelectedLanguage") + util.AddNetworkString("request_discordSelectedLanguage") + util.AddNetworkString("discordAvailableLanguages") + util.AddNetworkString("request_discordAvailableLanguages") + util.AddNetworkString("discordTestConnection") + util.AddNetworkString("request_discordTestConnection") + util.AddNetworkString("discordPlayerTable") + util.AddNetworkString("request_discordPlayerTable") end -xgui.addSVModule( "discordbot", init ) \ No newline at end of file +xgui.addSVModule( "discord", init )