File tree Expand file tree Collapse file tree
[core]/es_extended/client/modules Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -184,17 +184,12 @@ function Adjustments:ReplacePlaceholders(text)
184184 return text
185185end
186186
187- function Adjustments :PresencePlaceholders ()
188- local presence = self :ReplacePlaceholders (Config .DiscordActivity .presence )
189- return presence
190- end
191-
192187function Adjustments :DiscordPresence ()
193188 if Config .DiscordActivity .appId ~= 0 then
194189 CreateThread (function ()
195190 while true do
196191 SetDiscordAppId (Config .DiscordActivity .appId )
197- SetRichPresence (self :PresencePlaceholders ( ))
192+ SetRichPresence (self :ReplacePlaceholders ( Config . DiscordActivity . presence ))
198193 SetDiscordRichPresenceAsset (Config .DiscordActivity .assetName )
199194 SetDiscordRichPresenceAssetText (self :ReplacePlaceholders (Config .DiscordActivity .assetText ))
200195
You can’t perform that action at this time.
0 commit comments