diff options
author | Janet Blackquill <uhhadd@gmail.com> | 2021-12-18 16:43:29 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-18 22:43:29 +0100 |
commit | dbedc994216fa2e932f1aefd3ea27832419b85ef (patch) | |
tree | 2a577dda9e296c9f854ea0677394128d17ca6d17 /vendor/github.com/harmony-development/shibshib/located.go | |
parent | 6cb359cb808e2353db2675b58da95ac0349689fe (diff) | |
download | matterbridge-msglm-dbedc994216fa2e932f1aefd3ea27832419b85ef.tar.gz matterbridge-msglm-dbedc994216fa2e932f1aefd3ea27832419b85ef.tar.bz2 matterbridge-msglm-dbedc994216fa2e932f1aefd3ea27832419b85ef.zip |
Add support for Harmony (#1656)
Harmony is a relatively new (1,5yo) chat protocol with a small community.
This introduces support for Harmony into Matterbridge, using the functionality
specifically designed for bridge bots. The implementation is a modest 200 lines
of code.
Diffstat (limited to 'vendor/github.com/harmony-development/shibshib/located.go')
-rw-r--r-- | vendor/github.com/harmony-development/shibshib/located.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/github.com/harmony-development/shibshib/located.go b/vendor/github.com/harmony-development/shibshib/located.go new file mode 100644 index 00000000..d98fadba --- /dev/null +++ b/vendor/github.com/harmony-development/shibshib/located.go @@ -0,0 +1,10 @@ +package shibshib + +import chatv1 "github.com/harmony-development/shibshib/gen/chat/v1" + +type LocatedMessage struct { + chatv1.MessageWithId + + GuildID uint64 + ChannelID uint64 +} |