Discord - Tebex - Documentation
A simple Discord Sit Counter bot!
Using this resource, you'll be able to keep track of your staff team and their sit counters!
DISCLAIMER: THIS RESOURCE MEANT TO WORK WITH EasyAdmin BUT WILL WORK WITH ANY OTHER RESOURCE THAT PROVIDES THE SITS THROUGH A DISCORD WEBHOOK!
In order to use this resource, you'll need:
- A running server.
- EasyAdmin / every other resource that provides the sits through a Discord webhook.
- Download the resource and put it inside of your resources list.
- Go to Discord Developers Portal
- Create a new application.
- Copy the application ID. (under TAGS in General Information tab), and paste it inside
client_id
value inserver/config.json
- Create a bot within your new application.
- Untick the Public Bot option and tick the 3 intents under Privileged Gateway Intents.
- Scroll back up to the Bot page, copy the Bot Token, and paste it inside
client_token
value inserver/config.json
. - At the left-sided menu click on OAuth2 > URL Generator
- Tick the bot & application.commands options under Scopes and tick the Administrator option under Bot Permissions.
- Copy the generated URL at the bottom of the page, paste it in your browser and invite the bot to your server.
- Go into the config of the resource and edit the information.
guild_id
- Your Discord server id.
reports_channel_id
- The channel id of where sits are recieved at by a Discord webhook.
logs_channel_id
- The channel id that the bot will use to log the reactions to sits and total counter for everyone. - Edit the other information at the config as you wish.
- Simply add
ensure fs_sitcounter
inside yourserver.cfg
If you have done that correctly - Congratulations! You got the resource working properly!
NOTE: The data is stored under server/data/data.json
and will update itself every 1 minute!
- My Discord server is a safe place to ask questions. I'll be more than glad to help in my free time!
Special thanks to: https://auto.creavite.co/fivem-banners for the free server banner!