feature/discord_integration

Dec 26, 2021 1:41 pm
Push notifications are powered by discord webhooks.

How they work
A GM can choose that a thread will post updates to a discord channel.
Posting a message on GP sends it to Discord which then shows the start of the message, the character avatar, and has a link to the post.

https://i.imgur.com/Gg6nYiu.png

They're not mandatory. It would be up to the GM and the players to work out whether Discord integration is right for them.

Using Discord for this integration has the following advantages:
Discord notifications work on Android, iOS and desktop.
They are quite fine-grained. A GM could choose to have one notification channel for their whole game or a different channel per thread.
The notification control in Discord is quite sophisticated, allowing users to choose which notifications they want to receive and not notifying on every device.

The main disadvantages are:
Not everyone wants to use Discord.
There's the potential to split OOC in two places (on GP and on the Discord). Although, if some players already have Discord, then this is probably already happening to an extent.

Again, it'd be up to each game to work out whether this is a feature they'd want to include in their game.

Based on the fact that I'm one person and have two opinions, I think this is going to be somewhat controversial. I've gone backwards on forwards on whether this one is a good idea, but after trying it on staging I'm starting to quite like it.
Dec 26, 2021 4:26 pm
I didn't want to say "I told you so", but I told you so.
Dec 26, 2021 4:27 pm
Antiproduct says:
I didn't want to say "I told you so", but I told you so.
Yeah. @KolidSteelskin's discord thread was quite cool.
Jan 3, 2022 11:50 pm
Reposted from staging site:
Chalrytharendir says:
Tested Discord Integration

The notification itself worked great!

https://cdn.discordapp.com/attachments/847468766149476394/927706743855808562/discord_integration_image.jpg
Game Post is HERE for reference

Problems:
1) When posting as a character, it posted the wrong avatar
2) Also noticed the link takes you to the thread, not the post. I.e. ?p=#p as opposed to ?p=1100217#p1100217 for instance.
Jan 4, 2022 10:01 am
The avatar is because it's taking them from the live site based on id. It shouldn't be a problem in live. You're seeing it here because staging and live's data have diverged.

The ?p=#p is a good catch. I've fixed that and it's in staging (although, again, it assumes it's the live site).
Jan 4, 2022 3:07 pm
I see, so if I had used an old character it would have worked because the ID would be the same?
Jan 4, 2022 3:21 pm
Chalrytharendir says:
I see, so if I had used an old character it would have worked because the ID would be the same?
Yes. It's been a while since I refreshed staging's avatars, but if it was sufficiently old then it should work.

You do not have permission to post in this thread.