Stefanos Valoumas
6ad3b2e4d5
test: apply test conventions for discord service
2022-09-12 14:46:23 +03:00
Niko Köser
dfcad9d78d
test(service): add mocks and tests for discord
2022-09-12 08:46:37 +02:00
renovate[bot]
f57dfda60e
fix(deps): update module github.com/bwmarrin/discordgo to v0.24.0 ( #225 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Niko Köser <koeserniko@gmail.com>
2022-03-25 08:48:24 +01:00
Niko Köser
19d5488113
refactor(service): return context.Err when context.IsDone
2021-02-22 23:56:28 +01:00
Niko Köser
80cab3dece
refactor(send): Add context.Context to parameter list of Send method
2021-02-18 03:33:30 +01:00
Mischa
229e3f7cda
Fixed copy-paste error in comment
...
COPY PASTE STRIKES AGAIN!
2021-01-29 11:06:20 +13:00
Niko Köser
9acc5f6116
fix(discord): add gateway intent to discord client
...
The discord client was missing its gateway intent. Basically meaning the
API didn't know what the bot is allowed to do, so sending messages would
fail with 'Error 401: Unauthorized'.
Added only the intent to send messages (2048) and now everything is
working as intended.
2021-01-26 09:22:55 +01:00
Niko Köser
eda3e18914
docs(comment): correct function name in comment
2021-01-26 09:22:36 +01:00
Niko Köser
641a640173
feat(discord): add support for various authentication methods
2021-01-25 06:08:57 +01:00
Niko Köser
b9c0efe21f
refactor(lib): comment and clean up code
2021-01-25 05:05:28 +01:00
Niko Köser
911b879574
feat: init project
2021-01-25 00:14:21 +01:00