summaryrefslogtreecommitdiffstats
path: root/gateway/bridgemap/bdiscord.go
diff options
context:
space:
mode:
Diffstat (limited to 'gateway/bridgemap/bdiscord.go')
-rw-r--r--gateway/bridgemap/bdiscord.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/gateway/bridgemap/bdiscord.go b/gateway/bridgemap/bdiscord.go
new file mode 100644
index 00000000..92b14ac1
--- /dev/null
+++ b/gateway/bridgemap/bdiscord.go
@@ -0,0 +1,12 @@
+// +build !nodiscord
+
+package bridgemap
+
+import (
+ bdiscord "github.com/42wim/matterbridge/bridge/discord"
+)
+
+func init() {
+ FullMap["discord"] = bdiscord.New
+ UserTypingSupport["discord"] = struct{}{}
+}