Skip to content

Commit

Permalink
feat(config/client): dummy data rich presence
Browse files Browse the repository at this point in the history
This adds a placeholder Qbox style Discord rich presence in the hopes that it will be easier for new people to understand how it works and to adapt it instead of assuming that it is broken
  • Loading branch information
ChatDisabled committed Feb 10, 2025
1 parent e378208 commit 5704436
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions config/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ return {
discord = {
enabled = true, -- This will enable or disable the built in discord rich presence.

appId = '', -- This is the Application ID (Replace this with you own)
appId = '1024981890798731345', -- This is the Application ID (Replace this with you own)

largeIcon = { -- To set this up, visit https://forum.cfx.re/t/how-to-updated-discord-rich-presence-custom-image/157686
icon = 'logo_name', -- Here you will have to put the image name for the 'large' icon.
text = 'This is a large icon with text', -- Here you can add hover text for the 'large' icon.
icon = 'duck', -- Here you will have to put the image name for the 'large' icon.
text = 'Qbox Ducky', -- Here you can add hover text for the 'large' icon.
},

smallIcon = {
Expand All @@ -67,13 +67,13 @@ return {
},

firstButton = {
text = 'First Button!',
link = 'fivem://connect/localhost:30120',
text = 'Qbox Discord',
link = 'https://discord.gg/Z6Whda5hHA',
},

secondButton = {
text = 'Second Button!',
link = 'fivem://connect/localhost:30120',
text = 'Main Website',
link = 'https://www.qbox.re/',
}
},

Expand Down

0 comments on commit 5704436

Please sign in to comment.