Commit Graph

70 Commits

Author SHA1 Message Date
Tyler Stiene
a58a7197a9 clean up bridge terminate 2021-02-01 16:03:38 -05:00
Tyler Stiene
2fe2080bcf
Merge pull request #9 from stryan/main
swap GuildCreate and Ready, fix auto-mode
2021-01-26 21:39:40 -05:00
4717bdec27 on mumble connect failure disconnect from discord too 2021-01-26 10:33:47 -05:00
3b73e89ae7 update readme 2021-01-19 13:51:32 -05:00
577c5e702e fix auto mode, use mumble ping, die properly 2021-01-19 13:48:51 -05:00
daacaaad50 use discord CreateGuild instead of Ready 2021-01-19 13:19:05 -05:00
Tyler Stiene
79f305cec1 mumble-bot exclude self from user map 2021-01-19 01:19:45 -05:00
Tyler Stiene
3ef9fc40bf refactor
discord dm
disable text messages for discord and mumble with option
list users connected to discord on connection to mumble
2021-01-19 01:06:08 -05:00
Tyler Stiene
f5a230d57d chore: update readme and makefile 2021-01-17 22:41:42 -05:00
Tyler Stiene
74ff984906 chore: move cpu profile into main 2021-01-16 14:06:58 -05:00
Tyler Stiene
3b6d3ba5bd change default mode to constant 2021-01-16 14:04:52 -05:00
Tyler Stiene
07f87eecdd Merge branch 'main' of github.com:Stieneee/mumble-discord-bridge into main 2021-01-16 13:57:18 -05:00
Tyler Stiene
9f548a43ae
Merge pull request #8 from Stieneee/pull-7
remove default case from mumble onAudioStream
2021-01-16 13:49:41 -05:00
Tyler Stiene
f92b97391a
Merge pull request #7 from stryan/main
Runtime modes, status announcements, discord control
2021-01-16 13:48:45 -05:00
Tyler Stiene
cb5ca33b0c remove default case from mumble onAudioStream 2021-01-16 13:40:12 -05:00
b1132114c9 re-merge from upstream 2021-01-12 11:41:48 -05:00
0973c3bf25 make NICE option toggleable 2021-01-12 10:40:12 -05:00
5616814c83
Merge pull request #3 from stryan/state-revamp
State revamp
2021-01-12 10:37:23 -05:00
Tyler Stiene
d75e78d1dd chore: setup go releaser 2021-01-09 18:18:31 -05:00
e035baa3e9 fix mutexes 2021-01-09 16:38:36 -05:00
2e83d6d515 lint cleanup, remove code duplication 2021-01-08 14:38:21 -05:00
78dca8d9dc Merge branch 'state-revamp' of github.com:stryan/mumble-discord-bridge into state-revamp 2021-01-08 11:37:50 -05:00
2f4bf65d20 add mutexs to prevent data races, re-organize a bit 2021-01-08 11:36:22 -05:00
301bc1b3d1 remove global conf and state variables 2021-01-08 11:35:47 -05:00
ef8af89893 discord event listeners use non-global state 2021-01-08 11:32:27 -05:00
83712bfe15 mumble event listeners use non-global state 2021-01-08 11:32:27 -05:00
f4cc9498cb add mutexs to prevent data races, re-organize a bit 2021-01-06 19:12:56 -05:00
8e2fe4f3b7 actually add users in initial run 2021-01-05 21:58:38 -05:00
ab1046838c integrate mutex fix 2021-01-05 21:56:37 -05:00
645c7676c1 remove extra debug code 2021-01-05 20:33:40 -05:00
db0af7edcd remove global conf and state variables 2021-01-05 20:25:38 -05:00
ac800167f6 discord event listeners use non-global state 2021-01-05 20:21:08 -05:00
bcd7ee97ba mumble event listeners use non-global state 2021-01-05 19:43:55 -05:00
f41a2706c9
Merge pull request #2 from stryan/mumble-thread-cleanup
Mumble thread cleanup
2021-01-05 19:10:34 -05:00
4ae6176991 use gumble.Client.Do for sending messages thread safely 2021-01-05 19:08:17 -05:00
1e8a0a4165 count how many users are actually in channel 2021-01-05 19:00:28 -05:00
c469a65ed6 begin switching to mumble event listeners 2021-01-05 13:16:03 -05:00
bf166f7a9c
Merge pull request #1 from stryan/mode-system
add proper mode system
2021-01-05 12:23:02 -05:00
d75fff08f2 readme update 2021-01-05 12:16:51 -05:00
b7b1065abb use mumble client more,finally get user count right 2021-01-05 11:41:33 -05:00
2aa1a32d64 don't add users before the bridge starts 2021-01-04 21:54:29 -05:00
Tyler Stiene
43cc6ad672
Merge pull request #5 from Stieneee/issue-4 2021-01-04 21:28:35 -05:00
Tyler Stiene
7947e93a6d fix mutex issue 2021-01-04 21:27:30 -05:00
Tyler Stiene
a735f3f62f attempt to set niceness 2021-01-04 21:23:52 -05:00
8f5caaf834 actually add user to set 2021-01-04 20:53:03 -05:00
04f56bd3e0 update readme 2021-01-03 21:20:01 -05:00
41e864a0f3 send message when user leaves too 2021-01-03 20:52:30 -05:00
b782efdf04 keep track of discord users in set 2021-01-03 20:48:34 -05:00
8257bf55ab only care about joins, not mutes/deafens 2021-01-03 20:29:56 -05:00
f1f59116b5 don't try to send message before we connect to mumble 2021-01-03 20:25:51 -05:00