top-gg / docs Goto Github PK
View Code? Open in Web Editor NEWTop.gg documentation website
Home Page: https://docs.top.gg
License: MIT License
Top.gg documentation website
Home Page: https://docs.top.gg
License: MIT License
Get the link https://top.gg/api/bots
copied after clicking on the "Copy URL" button of the API documentation.
Got the link https://top.gg/api//bots
copied after clicking the button.
Bot
or another resource where you can copy a linkMicrosoft Edge - 90.0.818.62 Official build) (64-bit)
Windows 10
3440x1440
It's not a big deal, as the URL is still considered as valid.
MechArena
html:
<script src="https://twemoji.maxcdn.com/v/latest/twemoji.min.js" crossorigin="anonymous"></script>
js:
twemoji.parse(document.body)
css:
/*Blablabla*/
img.emoji {
width: 1em;
}
I hope this is a good thing... eh... Here I go!
Posting to /bots/:id/stats is wrong. It returns {"error": "Forbidden"}.
It works when you POST to /bots/stats
Hi, when I try to respond to a Rating & Review, it doesn't respond and post my response as a comment
The example response below the "post stats" endpoint gives an example response for a different endpoint.
Issue: https://github.com/top-gg/docs/blob/master/docs/Resources/webhooks.mdx#bot-webhooks
Problem:
The documentation says the query
parameter is sent as a string. This is incorrect. It's sent as an object with parameters as properties and their values as the property values.
Actual payload example from the webhook:
{
user: '491002268401926145',
type: 'upvote',
query: { source: 'command' },
isWeekend: true,
bot: '675996677366218774'
}
Solution:
The query
parameter description needs to be fixed to reflect the fact the webhook sends this property as an object
with the parameters as properties inside that object
, and not a string
.
Heya,
I've recently implemented into my own top.gg Java SDK webhook support, so I've figured out that I could write this issue.
The current Java library is ... in a rough state since it was not working but maybe now it does, I don't really know really + you must use JitPack which is quite annoying IMO. My idea is just to put it there as a lightweight alternative to the already existing one.
I can write any additional docs if needed or create a whole PR.
GitHub repo of the library: https://github.com/lilmayu/top-gg-java-sdk
Also, rate limits will be supported as well in the future.
https://docs.top.gg/api/bot/#bot-structure:
I believe this is supposed to render as
Browser: Chromium 93.0.4577.63 (Official Build) Arch Linux (64-bit)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.