Commit Graph

1096 Commits

Author SHA1 Message Date
dependabot[bot] 9289cfc9e8 build(deps): bump golang.org/x/crypto from 0.22.0 to 0.23.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/crypto/compare/v0.22.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 15:57:12 -07:00
diamondburned 5aaffc3687
discord: Upgrade MemberFlags from u8 to u32
why did it ever do this?! 522 does not even fit in a u8!
where did it even get this idea from?! omg.
2024-04-23 23:13:22 -07:00
diamondburned 95173b95f7
gateway: Add event op + type to unmarshal error 2024-04-23 23:06:35 -07:00
diamondburned 2fb68833e9
Bump dependencies manually 2024-04-10 17:57:15 -07:00
dependabot[bot] 43ca7e44ef build(deps): bump github.com/gorilla/websocket from 1.4.2 to 1.5.1
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket) from 1.4.2 to 1.5.1.
- [Release notes](https://github.com/gorilla/websocket/releases)
- [Commits](https://github.com/gorilla/websocket/compare/v1.4.2...v1.5.1)

---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-10 17:52:16 -07:00
dependabot[bot] b13ecfc357 build(deps): bump golang.org/x/time
Bumps [golang.org/x/time](https://github.com/golang/time) from 0.0.0-20210723032227-1f47c861a9ac to 0.5.0.
- [Commits](https://github.com/golang/time/commits/v0.5.0)

---
updated-dependencies:
- dependency-name: golang.org/x/time
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-10 17:51:58 -07:00
Diamond 88f3f6d073
Add dependabot.yml 2024-04-10 16:31:10 -07:00
蒟蒻 529272a9a9
cmdroute: Fix Autocompleter handling (#423)
* handle group with cmdroute/autocompleter

* handle autocompleter: find all options
2024-03-18 23:09:44 -07:00
Rark 5089b62bb2
discord: Fix unmarshal IntegerOption (#421)
* fix unmarshal IntegerOption

* fix failing tests
2024-03-05 20:54:11 -08:00
twoscott 2ec439a63f api: Add GET Thread Member method 2024-02-28 17:46:21 -08:00
diamondburned 2703326028
state: Fix reaction.Me on MessageReactionAddEvent 2024-02-14 03:26:30 -08:00
diamondburned 19518a0844
cmdroute: Implement Router.{With,Group}
This commit implements cmdroute.Router.Group and cmdroute.Router.With,
similar to go-chi's Mux.

Fixes #418
2024-02-06 23:45:48 -08:00
diamondburned dbc4ae8978
state: Fix Messages() being wasteful on later calls 2024-01-22 02:41:10 -08:00
Benbebop 10d3626429
api: Add ID param to CreateCommandData (#417) 2024-01-06 19:17:03 -08:00
diamondburned ff26fded59
gateway: Run go generate for new event 2024-01-06 19:13:59 -08:00
Benbebop 3bbdae9bc1 discord: Add AttachmentOption to UnknownCommandOption 2024-01-06 00:47:34 -08:00
diamondburned 966d966897
state: Add MemberRoles and SortedRoles helpers 2024-01-02 21:06:59 -08:00
diamondburned 1782301df9
discord: Add SortRolesByPosition helper function 2024-01-02 21:06:47 -08:00
diamondburned 796b798f6a
discord: Add comment for CalcOverrides 2024-01-02 20:59:53 -08:00
diamondburned f7f228a848
gateway: Add undocumented ConversationSummaryUpdateEvent 2024-01-02 01:35:16 -08:00
diamondburned dffb6400fe
discord: Add ThreadMetadata.CreateTimestamp field 2024-01-01 16:40:31 -08:00
diamondburned 9809321f6f
handler: Add AllCallersForType for low-level control
This is needed in more silly main thread applications to prevent mutex
deadlocks from uncontrollable recursions.
2023-12-27 19:20:10 -08:00
dependabot[bot] fce16ffb87 build(deps): bump golang.org/x/crypto in /0-examples/voice
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.1.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.1.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 16:35:28 -08:00
dependabot[bot] 12ddfba102 build(deps): bump golang.org/x/crypto from 0.1.0 to 0.17.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.1.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.1.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 16:34:58 -08:00
diamondburned 3bc5ae3f3c
*: Fix backwards logic for test -short 2023-11-04 05:05:49 -07:00
diamondburned 040622f494
*: Fix test -v flag in CI 2023-11-04 03:12:39 -07:00
diamondburned 619521c41e
*: Figure out GitHub Actions ternaries 2023-11-04 03:08:25 -07:00
diamondburned 7bfaf41a15
*: Fix messed up GitHub Actions syntax 2023-11-04 03:02:56 -07:00
diamondburned ff74f27e7f
*: Fix messed up GitHub Actions checks
I'm so tired of this. Oh my fucking god.
2023-11-04 03:01:22 -07:00
diamondburned 30c2f9e5de
*: Enable verbose test on debug mode 2023-11-04 02:55:33 -07:00
diamondburned ba08c57156
*: Run only short integration tests in CI by default 2023-11-04 02:49:39 -07:00
diamondburned 47ce508089
*: Limit integration testing to one at a time in CI 2023-11-04 02:45:18 -07:00
diamondburned 6f4737aedc
README: Update badge 2023-11-04 02:39:09 -07:00
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