diamondburned
a70012b289
shard: Fix test breaking on expected error
2023-11-04 02:35:17 -07:00
diamondburned
87fd11a68a
README: Update badges
2023-11-04 02:34:21 -07:00
diamondburned
b0a773c3f8
*: Improve WSDebug logging in tests
2023-11-04 02:27:37 -07:00
diamondburned
2c2daec84b
*: Increase test timeout throughout
...
This should make integration tests pass in CI.
2023-11-04 02:21:49 -07:00
diamondburned
1e4c5c135a
*: Increase example test timeout
2023-11-04 01:57:57 -07:00
diamondburned
ad26a72256
*: Ignore examples/voice in integration test
2023-11-04 01:57:31 -07:00
diamondburned
5ebd28bab6
examples/voice: Fix build error
2023-11-04 01:49:41 -07:00
diamondburned
093436066e
cmdroute: Fix OverwriteCommands being broken
2023-11-04 01:48:17 -07:00
diamondburned
edecfde113
*: Add missing envvars to test workflow
2023-11-04 01:44:16 -07:00
diamondburned
415069be30
*: Add integration tests for examples
2023-11-04 01:35:48 -07:00
diamondburned
e7c0290063
*: Update go.work.sum
2023-11-04 01:35:48 -07:00
diamondburned
0370ff1904
*: Introduce go.work for submodules
2023-11-04 01:35:47 -07:00
twoscott
4ef179343a
state: Add missing error check
2023-11-03 22:33:28 -07:00
diamondburned
ff709fc16c
bot: Fix failing ./extras/middlewares test
2023-11-03 19:35:40 -07:00
Scott
d9681ea1d1
state: Use store roles for calculating overrides ( #411 )
...
This commit is breaking. It fixes `CalcOverwrites` which previously relied on
incorrect assumptions.
2023-11-03 15:34:08 -07:00
ayn2op
69981ac3c3
typo: Vietnamses -> Vietnamese
2023-10-10 22:14:05 -07:00
Cléo Rebert
8f548d2607
go fmt + gci
...
Signed-off-by: Cléo Rebert <cleo.rebert@gmail.com>
2023-09-19 11:37:24 -07:00
Cléo Rebert
d36955acea
Move away from github.com/pkg/errors
...
Signed-off-by: Cléo Rebert <cleo.rebert@gmail.com>
2023-09-19 11:37:24 -07:00
ayn2op
356589df17
discord: add missing fields in AuditEntryInfo
2023-09-01 03:52:18 -07:00
ayn2op
c276b445ca
discord: add ReactionCountDetails struct
2023-09-01 02:41:24 -07:00
diamondburned
4bc415f72b
cmdroute: Add ev.Data into {Command,Autocomplete}Data
...
This mostly helps avoid a type assertion that could potentially be
incorrectly done.
2023-08-31 23:42:35 -07:00
diamondburned
5e0d1cfe4a
*: Move state example to root package
...
Also updated it to use Connect instead of Open and Close.
2023-08-24 22:39:42 -07:00
diamondburned
b1a54c0b41
webhook: Add several abstracted constructors
2023-08-15 00:30:03 -07:00
Simo Aleksandrov
13ac33f33f
api: Add missing query parameter to SearchData
( #403 )
2023-08-07 12:18:35 -07:00
diamondburned
3cb993aff9
cmdroute: Allow routing ComponentInteraction
2023-08-04 14:14:00 -07:00
PlavorSeol
78e456d49e
discord: Fix calculation of default avatar URL ( #398 )
...
* Fix the calculation of a default user avatar index
* run go fmt
2023-07-17 23:01:50 -07:00
diamondburned
4224b93c4e
discord: Add User.DisplayOr{Username,Tag}
2023-06-08 22:45:40 -07:00
diamondburned
2b0395ab12
api: Fix c07f574
broken tests
...
Closes #395 .
2023-06-07 18:03:26 -07:00
diamondburned
176d9921c7
*: -short should skip integration tests
2023-06-07 18:02:48 -07:00
sam
13a6bf10cc
discord: Support the new username system ( #393 )
...
* add support for the new username system
* rename User.GlobalName to DisplayName
2023-06-07 17:56:07 -07:00
ayn2op
73986699b7
discord: add missing permissions
...
Reference: https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags
Related: https://github.com/discord/discord-api-docs/pull/6039
2023-06-07 10:14:17 -07:00
Diamond
2ec786a788
*: Update cache-install for CI
...
This changes the locked commit to the latest branch version.
Not very ideal, we should have a v1 branch instead, but eh.
2023-06-06 17:08:54 -07:00
diamondburned
c07f574558
api: Don't omitempty SendMessageData.Flags
...
This might fix Discord pings not working. AFAIK Discord might have
changed the defaults which might have broken some of our bots.
Bots that want to set flags should explicitly do so. We're not
supporting Discord's defaults.
2023-05-24 14:25:19 -07:00
diamondburned
61f2ed7363
discord: Use <@x> for member mentions
2023-05-22 06:02:58 -07:00
ayn2op
fea383c61b
discord: move AppFlagAutoModerationRuleCreateBadge outside
2023-04-07 06:07:05 -07:00
ayn2op
6c1928f183
discord: add AppFlagAutoModerationRuleCreateBadge to ApplicationFlags
...
PR: https://github.com/discord/discord-api-docs/pull/6021
Commit: ad723a1732
2023-04-07 06:07:05 -07:00
ayn2op
b8daf636f0
discord: add Channel field to InteractionEvent struct
...
PR: https://github.com/discord/discord-api-docs/pull/6051
Commit: 88a761816b
2023-04-07 02:44:12 -07:00
Stefan Ric
82c55dffac
voice/udp: Reflect upstream changes from Discord
2023-03-20 14:05:21 -07:00
diamondburned
ba9d20b34b
gateway: Add IntentMessageContent
...
See https://discord.com/developers/docs/topics/gateway#message-content-intent .
2023-03-15 15:16:42 -07:00
hi117
abe3d2aa9b
discord: Imporve StringSelectComponent's description ( #386 )
2023-03-15 15:12:58 -07:00
hi117
f4ec5bc80e
discord: Fix reference to deleted SelectComponent ( #387 )
2023-03-15 15:11:46 -07:00
hi117
c2657da488
discord: Add limit for SelectOption.description ( #388 )
2023-03-15 15:11:08 -07:00
dependabot[bot]
68c2877780
*: Bump golang.org/x/crypto ( #380 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.0.0-20210921155107-089bfa567519 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/commits/v0.1.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 07:23:50 -08:00
dependabot[bot]
2310bedc5e
examples/voice: Bump golang.org/x/crypto ( #381 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.0.0-20210921155107-089bfa567519 to 0.1.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/commits/v0.1.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 07:23:19 -08:00
dependabot[bot]
99156b7e9d
examples/voice: Bump golang.org/x/sys ( #379 )
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.0.0-20211001092434-39dca1131b70 to 0.1.0.
- [Release notes](https://github.com/golang/sys/releases )
- [Commits](https://github.com/golang/sys/commits/v0.1.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 02:18:36 -08:00
dependabot[bot]
1778b52dd6
*: Bump golang.org/x/sys ( #378 )
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.0.0-20211001092434-39dca1131b70 to 0.1.0.
- [Release notes](https://github.com/golang/sys/releases )
- [Commits](https://github.com/golang/sys/commits/v0.1.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sys
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 02:18:09 -08:00
sam
c1cc1b8a54
discord: Add the other select interaction data types ( #377 )
2023-02-21 16:28:14 -08:00
ayn2op
759a2eede5
discord: add missing fields to MessageType enum
2023-02-16 08:05:56 -08:00
diamondburned
23140acf87
gateway: Load latency on reconnection
2023-02-12 15:52:18 -08:00
ayn2op
9d3f579e90
api: add Flags field to SendMessageData struct
2023-02-11 03:31:13 -08:00