#Webhook ideas/feedback
1 messages · Page 1 of 1 (latest)
Hey
Good idea.
make it send to discord if the url is a discord webhook url
For the retry thing I'm in
we could add formatting modes perhaps yeah
im thinking of mostly reviews right now so you can get your reviews through a realtime event
self promo 
erm
I WOULD LOVE THAT
Solve for retries
what about adding webhooks for auctions?
wouldn't that incentivise reviews though which goes against TOS
Rn I have an internal way of submitting feedbacks/ratings
we're rewriting auctions from scratch atm. so there wont be further integration there :(
in my voting confirmation DM, i add a prompt to leave a review on top.gg. having a field that tells me if the user has left a review (doesn't need to tell me their rating) it would be nice to know so i can stop bothering them with the prompt
or if we get webhooks for new reviews i can store that and deal with it on my end
Reviews would be awesome!
webhooks with new reviews would allow you to do that yeah
Reminder webhook events, add an opt in system via top.gg so reminders are only sent if they opt in.
not sure if we want to do a lot of processing on webhook payloads since we send out an insane amount of them 😂
I'd honestly love to see more events added, especially for reviews. Would it then be possible to reward users for leaving reviews too? That'd open up some cool use cases
i think thats against ToS?
although could be wrong
yeah think that's not allowed
Aight wanted to make sure
Its not
Thats what you have me for!
it sounds like something we've discussed at some point tho
curious if that should not be allowed tho
Are there any other events planned/being discussed if I may ask?
Oh i meant its not allowed
Reviews

only reviews is beign considered right now
that'll be great
reports... so every time someone reports my bot i can ban them
are we also gonna have webhooks for servers
What kind of data would actually be included in the review event? Like would it have the username, star rating, and the review text itself?
~~auto ban ~~
yes
o i canot read
definitely a more up-to-date user and listing data. other than that im not sure yet
True logs would be nice, but it might be necessary to include searching/filters.
IE Large bots with users claiming they didnt get rewards. Allowing the admins to search for them specifically could be useful.
Also quick question: are reviews automoderated, or only checked manually? Just wondering because if I were to display them publicly somewhere, I'd want to make sure no bad bad stuff slips through
we manually check them, but we do have a auto-moderator now. we should probably run some sort of analysis on a newly created one 
Aight thanks
yeah logs are gonna be awesome. but heavy for whichever db I decide to use for it
Limits it to 1 month ?
i mean it should be fine either way
I have concerns for review webhooks, it may encourage people to give rewards for leaving reviews which afaik is against your rules
yeah that's what I asked minutes ago, it is not allowed
you'd have to actually control bots for that then.. or just get reports about that
Right
i know this is more API related and not webhooks exactly, but when checking the endpoint to see if a user has voted, it would be nice to have the timestamp of when they last voted and the rest of the properties you get on the webhook
https://docs.top.gg/docs/API/bot#individual-user-vote
API resource for a bots or apps on a platform like Discord
just so i can send them a reminder at the right time if for some reason the webhook didn't work
i do that manually tbh
I just track current timestamp when its received
He means when you use the api not webhooks
i might be dum dum
Um idk
Not bad but I feel like having a webhook for a review encourages review rewards which are against your ToS
It may be fun to know if my bot was added to a server through top.gg for analytics tho so maybe a webhook when someone clicks invite?
Ah
definitely not easy, but technically possible
would be nice to have a webhook like that for beginners
i would love to first update the api before i add stuff to it 
current one adds unnecessary load on the web server
tbh i havent used the api in AGES because the website has been so stable since you took over 
Sounds cool
piggybacking off the API comments - i wish that the API would have an event that automatically gets sent to your app when someone votes (e.g. VoteForBotEvent); i currently have a workaround where i use the webhook that sends the user id into a channel, then read that message using my bot but it's really janky and i would like a more official solution
You can just send the webhook directly to your bot. That's what it's for 
https://docs.top.gg/docs/Resources/webhooks
Webhook integration for receiving vote data
You can ask people for help in #topgg-api
Listen to webhooks, one endpoint for each botlist, and storing them in a database for analytics & votewalling some features
Bot events are controlled by Discord - you need your own setup to receive a request from topgg, no dAPI wrapper will do it out of the box for you
been doing this for a long time haha, surprised more people don't think of it tbh
yeah those top 3 match for me too lol, top.gg, then half of that is discord, and another half of that is website
yeah it used to be the same for me but at a certain point discord became #1, not because of the app directory (im not on it) but just the invite button on the bot profile. as you join more servers, that entry point becomes naturally available in more places and so it just naturally takes over as top source
but in terms of bot lists it's by far just top.gg and nothing else LOL
that makes a lot of sense yeah
it could be different if i looked at a more narrow window of time
but also varies based on how auctions are doing
top.gg is still definitely highest for me though
hey, any update on the localization of the bot descriptions?
How about letting bot developers publish webhooks for their own bots? So that bots have an easier time integrating with each other
Yeah I do it on my bot 
You use express to handle requests from top.gg
My Wishlist for the webhooks update
While most developers using webhooks will never have a need for these features they will be important for vote tracking services.
With the addition of roblox certain new data will be very nice in the webhook.
{
id: "12345", // unique vote ID, can be useful for debugging
type: "upvote",
isWeekend: true,
query: "",
project: {
provider: "Discord", // Really needs to be specified for vote tracking services
topggID: "12345", // unlikely to be useful, but good to include
id: "7891011", // Provider ID
name: "luca", // Keeping these up to date on Top.gg isnt always 100% but its way better than having no access at all(discord servers)
avatar: "https://example.com/avatar", // Same as above
points: 1500,
monthlyPoints: 250
},
user: {
provider: "Discord", // Really should be specified, especially if roblox logins are added
topggID: "12345", // May be required for tracking vote rewards if sometimes the provider is discord and sometimes roblox
id: "7891011", // Provider ID
username: "Veld", // Roblox can be a pain to pull this data from(username and avatar are seperate endpoints)
avatar: "https://example.com/avatar", // Roblox can be a pain to pull this data from(username and avatar are seperate endpoints)
points: 10,
monthlyPoints: 4,
streakPoints: 3
},
}





for me it's discord, then