Skip to content

Commit

Permalink
Experiment with Minecraft avatars
Browse files Browse the repository at this point in the history
  • Loading branch information
yutotakano committed Jun 6, 2024
1 parent d13ff98 commit 83bcb25
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion matterbridge/matterbridge.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ account="api.matterbukkit"
channel="api"

[[gateway.inout]]
account="discord.compsoc"
account="discord.compsoc-mcavatars"
channel="ID:1245849017565446254" # minecraft-ingame


Expand All @@ -104,6 +104,25 @@ AutoWebhooks=true
# Show a preview of other bot's embeds by copying the title and description
ShowEmbeds=true

# Goal: Show minecraft avatars for MC -> Discord messages. We want to use the
# IconURL setting, but this setting can only be applied on account level, not
# per gateway (a bit stupid ngl, we should be able to change settings for each
# inout gateway). So, we need to create a separate account definition that
# has all-identical settings, except for IconURL.
[discord.compsoc-mcavatars]

Server="315277951597936640" # CompSoc Edinburgh
RemoteNickFormat="{NICK}"
# Disable threading, as Webhooks can't reply to threads and it looks off
PreserveThreading=false
# Allow no mentions, since it can be source of spam. Default is all.
AllowMention=[]
# Automatically manage webhooks for Discord channels
AutoWebhooks=true
# Show a preview of other bot's embeds by copying the title and description
ShowEmbeds=true
IconURL="https://mc-heads.net/avatar/{NICK}.png"

[discord.sigint]

Server="754018502058180659" # SIGINT Edinburgh
Expand Down

0 comments on commit 83bcb25

Please sign in to comment.