Commit Graph

13 Commits (master)

Author SHA1 Message Date
Luther Wen Xu 1ddb32e12b
go: discord/backend: Initialize map to prevent crash 2019-10-20 17:51:32 +07:00
Luther Wen Xu c0965b86aa
go: discord/backend: Implement actual trust vote caching 2019-10-20 17:19:14 +07:00
Luther Wen Xu 0bec62f96c
go: discord/backend: Add temporary workaround to discordgo's duplication issue 2019-10-19 22:54:18 +07:00
Luther Wen Xu b6feb6a0a2
go: discord/backend: Remove some bias from trust score calculation 2019-10-19 22:48:40 +07:00
Luther Wen Xu 430b8be8f5
go: discord/backend: Use RequestGuildMembers as suggested by the Gopher Discord server 2019-10-18 23:56:14 +07:00
Luther Wen Xu 1da6ceb136
go: discord: Rely less on state and more on events 2019-10-18 12:20:26 +07:00
Luther Wen Xu 7116381000
go: discord/backend: Gracefully handle low global active level 2019-10-18 11:48:50 +07:00
Luther Wen Xu ec43666620
go: discord/backend: Consider active level while calculating trust level 2019-10-18 11:39:20 +07:00
Luther Wen Xu 34daaa83cb
go: discord/backend: Use Minecraft username as fallback for member search 2019-10-16 12:36:37 +07:00
Luther Wen Xu 0477b55885
go: Improve performance by using discordgo caching 2019-10-15 19:06:42 +07:00
Luther Wen Xu 6211334d91
go: Move embed creation and audit functions into its own package 2019-10-13 20:39:20 +07:00
Luther Wen Xu 69e2a2736c
go: Connect voice state update to the Kotlin plugin 2019-10-13 20:39:20 +07:00
Luther Wen Xu d1588fffcf
go: Move discord into its own package 2019-10-12 17:45:57 +07:00