Raised This Month: $51 Target: $400
 12% 

[ANY] Discord API (Send/Retrieve messages, list Guilds/Channels) UPDATE: 10/1/17


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Deathknife
Senior Member
Join Date: Aug 2014
Plugin ID:
5478
Plugin Version:
0.1.12
Plugin Category:
Technical/Development
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows plugins to send and retrieve messages, as well as list Guilds and channels for guilds.
    Old 01-06-2017 , 15:45   [ANY] Discord API (Send/Retrieve messages, list Guilds/Channels) UPDATE: 10/1/17
    Reply With Quote #1

    About:
    Provides an API that allows plugins to:
    - Listen to messages on Channel
    - Send Messages to a Channel
    - Get Guilds
    - Get Channels for a Guild

    It's barebone now, just the basics. If people are interested I can add more features. Check github page for some documentation.

    Bot token can be obtained from https://discordapp.com/developers/applications/me

    Dependencies:

    SteamWorks
    smjansson

    Changelog:
    Quote:
    v0.1.12
    * Fixed Guild Channels list error 429 support
    * Made requests retry in two seconds if it fails to create HTTP request. This usually happens when server just launched.

    v0.1.10
    - Removed unnecessary includes that are not used. (cstrike include prevented it from running on TF2) Should be fine now
    + Added support if discord returns too many requests. Running plugin on multiple servers should no longer be an issue.

    v0.1.1
    + Added Support for x-rate-limit (not global yet)

    v0.1.0
    + Initial Release
    Github Repository

    EXAMPLES (Call admin, server announcements from discord)
    Attached Files
    File Type: zip discord_api.zip (38.1 KB, 3739 views)
    __________________

    Last edited by Deathknife; 01-10-2017 at 15:30.
    Deathknife is offline
     



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 19:39.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode