![]() Leaderboards are separated into pages of 100 users. See the tests folder for some functional examples Get a leaderboard page ![]() from mee6_py_api import API mee6API = API ( your_guild_id ) Examples Installation pip install mee6-py-api Usageįirst, import the package and create the API class. This implements the api as per the Mee6 API docs located here: If you've got a knack for JSON application-building or HTTP POST requests and want to customize your own webhooks, you can dig up some more information in our developer docs.This is the unofficial python API for mee6. In the next section, you can choose to customize what kind of events trigger webhook messages.Ĭlick the last "Add webhook" button beneath the event notifications customization option, and you're all set! Pushing any updates in the repo (including editing the readme file) will show up in your text channel:Īnd you're all set! GitHub is just one example of an integration that can post messages via webhook. ![]() Discord's webhook format really likes JSON. For content type, stick with application/json. (Filtered stream) This allows me to create up to 25 rules with each rule being 512 characters. I own a bot and Ive integrated a twitter stream API into it. In addition to the URL, you have some more GitHub-specific options to choose from. How does Mee6 monitor twitter accounts Hello, I have a question for fellow discord bot developers. To make the webhook display messages properly, it's really really really REALLY really important that you append '/github' at the end of it. Once you've selected the repo, go into the Settings > Webhooks menuĪnd then click the "Add webhook" button, and enter the Discord-generated URL in the "Payload URL" blank. Add the webhook URL into your GitHub repo settingsĬhoose the repository that you'd like to get updates from in your Discord server. Therefore, I'll grab the webhook URL for this channel by pressing the Copy Webhook URL button:Ģ. This post will show you how: MEE6 Twitter Alerts Set Up for Discord The MEE6 bot can automatically link new tweets in your discord. In my server, I've created a text channel labeled #general-chat and I want my repo updates to post messages here! MEE6 is one of the best Discord bots on the market, offering several features including the ability to sync your Twitter account with a channel on your server. Get the webhook URL for the server/channel you want to receive messages: You can use Discord's webhooks to send any code merge or push updates in a repository of yours into a text channel in your server.ġ. Since webhooks can't really function on their own and need to be linked to another website to function as intended, I figured it'd be best to include a sample integration for any of you GitHub enthusiasts and code-pushers. Quick Example: GitHub Webhook Integration You now have your own handy URL / pneumatic tube schoomp-er that you can link to more websites to receive messages from.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |