Git Product home page Git Product logo

docs's People

Contributors

akshit-wtf avatar awesomestickz avatar dependabot[bot] avatar dev-bun avatar esmeray6 avatar extremedevelopments avatar faith-ie avatar ggrandma avatar hamoodihajjiri avatar hopefuls avatar i0bs avatar jpbberry avatar kkrypt0nn avatar link-discord avatar luke-6723 avatar macedonga avatar norinorin avatar null8626 avatar o4h avatar sayomaki avatar sksmta avatar tag-epic avatar universal-omega avatar velddev avatar waki285 avatar xetera avatar xignotic84 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs's Issues

Add Twemojis for a good cause

Just for a good cause, but... I think it's beautiful ๐Ÿ˜‚.

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!

Java library with webhook support

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.

Webhook query parameter incorrectly documented

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.

API documentation copy URL has "//"

Expected Behavior

Get the link https://top.gg/api/bots copied after clicking on the "Copy URL" button of the API documentation.

Observed Behavior

Got the link https://top.gg/api//bots copied after clicking the button.

Applicable Links or Attachments

https://docs.top.gg/api/bot

Steps to Reproduce

  1. Open docs.top.gg
  2. Click on the Bot or another resource where you can copy a link
  3. Click on "Copy link"

Web Browser and Version

Microsoft Edge - 90.0.818.62 Official build) (64-bit)

Operating System and Version

Windows 10

Screen Resolution

3440x1440

Additional Information/Comments

It's not a big deal, as the URL is still considered as valid.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.