Skip to content

merge#17

Open
ColinLeDev wants to merge 93 commits intoColinLeDev:masterfrom
botlabs-gg:master
Open

merge#17
ColinLeDev wants to merge 93 commits intoColinLeDev:masterfrom
botlabs-gg:master

Conversation

@ColinLeDev
Copy link
Owner

No description provided.

l-zeuch and others added 30 commits November 4, 2025 22:26
This is taken directly from upstream at golang/go@0f7b4e7
with minor testing on my end via `evalcc`

Unfortunately the patch does not apply cleanly to our codebase, so I had
to resort to copy-and-paste, thereby obscuring authorship.

Signed-off-by: Luca Zeuch <l-zeuch@email.de>
* templates: consider `uint`s for comparison in `in`

For unknown reasons, `in` did not consider `uint`s for comparable types,
forcing users to a) be extremely confused why their code doesn't work
when it should and b) figuring a way around that (either by type
conversion or some other arguably unnecessary things).

Adjust the definition of `in` to consider `uint`s.
Future considerations: can we somehow rewrite this using generics,
elimiating the need to exhaustively list all possible comparable types?

Signed-off-by: Luca Zeuch <l-zeuch@email.de>

* templates: [in] use CanUint and friends, modernise for-loop

Signed-off-by: Luca Zeuch <l-zeuch@email.de>

---------

Signed-off-by: Luca Zeuch <l-zeuch@email.de>
* use templates.SDict for modal values

* component functions re-org
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.43.0 to 0.45.0.
- [Commits](golang/crypto@v0.43.0...v0.45.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…1985)

* return error from sendMessage to handle it in try catch in  template

* return error from sendMessage to handle it in try catch in  template
* added twitch feeds

* added env vars to example docker

* simplified logic to send notifications

* Fix bugs with VOD
* Deleted an annoying space

* Second annoying space
… 15 minutes (#1992)

* Added logic to restart reddit feed if the last success was older than 15 minutes

* call check feed in start feed

* fixes to the exit logic in case of feed shutdown
ashishjh-bst and others added 30 commits January 9, 2026 09:58
Currently, toInt(64) returns 0 for strings like 0xDEADBEEF, when it
should parse those without any issues.
The problem stems from the string case of these functions wherein
strconv.ParseInt is called with a fixed base of 10.
However, strconv.ParseInt can infer the base by inspecting the string
prefix, given that the base argument is set to 0.[0]
Make toInt(64) account for other bases by setting the base argument for
strconv.ParseInt to 0.
While we're here, also modernise `inferface{}` to `any`.

[0]: https://pkg.go.dev/strconv#ParseInt

Signed-off-by: Luca Zeuch <l-zeuch@email.de>
* add aliases to cleardm command

* ran go fmt on the file
This allows users to at least bypass silly permission restrictions for
debugging their custom command triggers.

Joe suggested it, I was faster than him.

Signed-off-by: Luca Zeuch <l-zeuch@email.de>
…d, modified the default custom announcement to share vod link instead of stream link (#2011)
…roup, preference is cc-error-channel, group-error-channel, trigger channel (#2016)
…case an event for an already joined member is received (#2018)
* moderation: restore clean command's -nopin flag

Add the `"pinned"` message field to dstate.MessageState rather than
fetching the channel's pinned messages for filtering
Also clean up some cruft while we're here

Signed-off-by: Galen CC <galen8183@gmail.com>

* dstate tracker: update all message fields in handleMessageUpdate

MESSAGE_UPDATE events send the same fields as MESSAGE_CREATE, so we can
reuse dstate.MessageStateFromDgo rather than duplicating logic in
handleMessageUpdate

Signed-off-by: Galen CC <galen8183@gmail.com>

* dstate: return earlier in handleMessageUpdate

Signed-off-by: Galen CC <galen8183@gmail.com>

---------

Signed-off-by: Galen CC <galen8183@gmail.com>
* migrated to new pin endpoints

* reduce pin list/count usage limit.
* discordgo: fix EndpointChannelMessageCrosspost

Signed-off-by: Galen CC <galen8183@gmail.com>

* discordgo: use EndpointChannelMessage in EndpointChannelMessageCrosspost

Signed-off-by: Galen CC <galen8183@gmail.com>

---------

Signed-off-by: Galen CC <galen8183@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants