calamity icon indicating copy to clipboard operation
calamity copied to clipboard

A library for writing discord bots in haskell

Results 5 calamity issues
Sort by recently updated
recently updated
newest added

Hello! This is a fantastic library that's engineered very nicely, great job! Though, I've found some weird implementation details here that could improve the library if changed to work well....

This is more of a question than an issue, but is there a way to figure out which event occurred first between two events? My use-case is that I have...

[Discord is changing how usernames work on their platform](https://support.discord.com/hc/en-us/articles/12620128861463). This is internally codenamed "Pomelo". I haven't taken a deep look into how Calamity handles discriminators or usernames, or any potential...

Relevant file: https://github.com/simmsb/calamity/blob/master/calamity/Calamity/HTTP/Webhook.hs#L36 This code snippet ```hs invoke $ CreateWebhook ctx' $ CreateWebhookData { username = Just "test-webhook", avatar = Just "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA ... } ``` yield an error ``` "Left...

(InternalException (HandshakeFailed (Error_Protocol ("expecting server hello, got alert : [(AlertLevel_Fatal,DecodeError)]",True ,HandshakeFailure))))) ``` 024-06-05T11:41:27.596422788Z /calamity /calamity route=https://discord.com/api/v10/gateway/bot DEBUG Internal error, retrying 024-06-05T11:41:27.596439133Z /calamity /calamity route=https://discord.com/api/v10/gateway/bot DEBUG unknown ratelimit 024-06-05T11:41:27.596451625Z /calamity /calamity...