Just followed the tutorial and it hasn’t worked for me. I’ve even tried changing the Application ID, resource name, clearing server cache and even clearing my own client cache and it still does not seem to work. What the absolute fuck am I doing wrong? Here is my current code:

--[[ Commented out as this was the original one.
Citizen.CreateThread(function()
    SetDiscordAppId(863587944127660043)
    SetDiscordRichPresenceAsset('tempestlogo')
    SetDiscordRichPresenceAssetText('https://discord.tempestcommunity.com')
    SetDiscordRichPresenceAction(0, 'Wanna know what Tempest is? Check out our website!', 'https://www.tempestcommunity.com')
    SetDiscordRichPresenceAction(1, 'Join our Discord community too!', 'https://discord.tempestcommunity.com')
    while true do
        Citizen.Wait(10000)
        local playerId = GetPlayerServerId(PlayerId())
        local playerName = GetPlayerName(PlayerId())
        SetRichPresence('Players: ' .. #GetActivePlayers())
        print("presense 1 sent: players")
        Citizen.Wait(5 * 1000)
        SetRichPresence('ID: ' .. playerId)
        print("presense 2 sent: ingame id")
        Citizen.Wait(5 * 1000)
        SetRichPresence('IGN: ' .. playerName)
        print("presense 3 sent: ingame name")
        Citizen.Wait(5 * 1000)
        SetRichPresence('www.tempestcommunity.com')
        print("presense 4 sent: website")
    end
end)]]


Citizen.CreateThread(function()
	while true do
        -- This is the Application ID (Replace this with you own)
		SetDiscordAppId(864921192539750400)
        print("Application ID set.")

        -- Here you will have to put the image name for the "large" icon.
		SetDiscordRichPresenceAsset('tempest_logo')
        print("Rich Presence Logo set.")
        
        -- (11-11-2018) New Natives:

        -- Here you can add hover text for the "large" icon.
        SetDiscordRichPresenceAssetText('Tempest Community')
        print("Rich Presence Logo Text set.")
       
        -- Here you will have to put the image name for the "small" icon.
        --SetDiscordRichPresenceAssetSmall('logo_name')

        -- Here you can add hover text for the "small" icon.
        --SetDiscordRichPresenceAssetSmallText('This is a lsmall icon with text')


        -- (26-02-2021) New Native:

        --[[ 
            Here you can add buttons that will display in your Discord Status,
            First paramater is the button index (0 or 1), second is the title and 
            last is the url (this has to start with "fivem://connect/" or "https://") 
        ]]--
        SetDiscordRichPresenceAction(0, "Wanna know what Tempest is? Click me!", "https://www.tempestcommunity.com")
        print("Button 1 set.")
        SetDiscordRichPresenceAction(1, "Join our Discord community too!", "https://discord.tempestcommunity.com")
        print("Button 2 set.")
        -- It updates every minute just in case.
		Citizen.Wait(60000)
	end
end)

Here is my console every time I join the server: