Hydra Posted October 29, 2021 Share Posted October 29, 2021 Hello, it is possible to get the members count from a discord server on mta using webhook? Link to comment
vx200 Posted October 29, 2021 Share Posted October 29, 2021 Sorry. I didn't understand your question. Do you want to have the count of users on your DISCORD server from your mta? Example, do you want to run /users on your MTA server and get the count of users from your DISCORD server? Link to comment
Hydra Posted October 29, 2021 Author Share Posted October 29, 2021 25 minutes ago, tasty said: Sorry. I didn't understand your question. Do you want to have the count of users on your DISCORD server from your mta? Example, do you want to run /users on your MTA server and get the count of users from your DISCORD server? Yea, I want to get the count of users from discord server in mta. Sorry for my bad english btw. Link to comment
Skully Posted October 31, 2021 Share Posted October 31, 2021 This is not possible with just simple webhooks. You will have to create a Discord Bot and integrate it into MTA, you can use Discord.js to create the bot (or use an existing one) and implement the functionality to fetch the total number of members in a guild, with this you can connect your server to the bot or create an API endpoint to retrieve the total members. Link to comment
Hydra Posted October 31, 2021 Author Share Posted October 31, 2021 5 hours ago, Skully said: This is not possible with just simple webhooks. You will have to create a Discord Bot and integrate it into MTA, you can use Discord.js to create the bot (or use an existing one) and implement the functionality to fetch the total number of members in a guild, with this you can connect your server to the bot or create an API endpoint to retrieve the total members. Thank you for the info Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now