Discord Server

Discussion in 'Off Topic' started by Anashel, Dec 20, 2016.

  1. Anashel

    Anashel Puppet Master Staff Member

    Hi everyone!

    During Christmas I wish to experiment with a Discord Server that could be integrated with our Twitch Channel and our COM-Division portal.

    Anyone here have a good experience with Discord and could give me a hand?
     
  2. codex-13

    codex-13 Senior Agent

    I mean... If you click the link in my signature, you can see the unofficial server I've been running. It's gotten pretty popular during this event.

    ETA: I've got a decent amount of experience running discord servers, is what I mean to say here. I have another one I use for my gaming friends and it's pretty large.

    EDIT 2: So, I'm not sure what you mean by integrate... But just as a heads up, you can't embed Discord chat into a webpage, only a widget that shows who is online/in voice channels. The integration that exists between Twitch and Discord is strictly for permissions purposes, so that subscribers to Twitch channels can be given special permissions in associated Discord channels.
     
    Last edited: Dec 20, 2016
    Anashel and Balamung like this.
  3. Balamung

    Balamung Senior Agent

    Just to add on this, I've also been running a Discord server for over a year now, and at one point you could embed it through an iframe, but sadly, to avoid clickjacking and such dangers, they removed it completely.

    However, they launched recently GameBridge which could allow you to work something inside the game's client I guess =)

    If you want more details, I could explore it further, but for instance, a game called Atlas Reactor can dynamically create a Discord Voice channel for matchmaking teams. This could be applied to the Call of Help functionality for example.

    All in all, direct integration is not possible, but they have a very huge and expanding API which could provide some tools to do what you wish to :)
     
    codex-13 likes this.
  4. JantsoP

    JantsoP Division 88 Manager

    Actually @Balamung , they still have it. It was featured in a patch during last summer and i just made and test page (just simple html) and it works just fine.
     
    Balamung likes this.
  5. Balamung

    Balamung Senior Agent

    Oh, must have missed that one ! =O I'll take a look tonight =P
     
  6. codex-13

    codex-13 Senior Agent

    My understanding is that they had disabled iframes and had no intention of re enabling them. Do you mind if I see your code @JantsoP?
     
  7. JantsoP

    JantsoP Division 88 Manager

    @Balamung I already did. You can do an voice chat one (GitHub) via an 3rd party solution. But text is disabled by Discord in their API. You could do an bot which spits the text out to online, buuuuut you cannot talk anything back via that way. I even tried a dumb idea to just iframe the URL from the Web client but their servers blocked it. So now we have to wait when Discord wants to enable the text again. Which i might think is never :/
    Looks like that voice is a dead end too. Fucking Discord. "Hey wanna use our API? HA! Only make it work to our Client." Yeah no thanks.
     
  8. codex-13

    codex-13 Senior Agent

    @JantsoP that's exactly what we were saying before :)
     
    Balamung and MochiInvasion like this.
  9. Balamung

    Balamung Senior Agent

    This is what I talked about ! And yes, they disabled it permanently for security reasons via a "x-frame-options: SAMEORIGIN" header :)
     

Share This Page