Skip to content

Add image URL methods - #42

Merged
KubaZ2 merged 3 commits into
alphafrom
feature/imageurl-methods-in-models
Sep 1, 2024
Merged

Add image URL methods#42
KubaZ2 merged 3 commits into
alphafrom
feature/imageurl-methods-in-models

Conversation

@KubaZ2

@KubaZ2 KubaZ2 commented Sep 1, 2024

Copy link
Copy Markdown
Member

No description provided.

- Added methods to `Application`, `CustomEmoji`, `Role`, `Sticker`, and `Team` classes for retrieving image URLs.
- Enhanced `GuildScheduledEvent` and `JsonGuildScheduledEvent` with cover image hashes and recurrence rules.
- Modified `GuildUser` to use expression-bodied member for `GuildId`.
- Updated `ImageFormat` enum to inherit from `byte`.
- Improved `ImageUrl` class with new URL generation methods and optimized `IsSizeValid`.
- Added `GuildBannerHash` property to `JsonGuildUser`.
- Enhanced `PartialGuildUser` with properties for guild banners and avatar decorations.
- Updated `RestGuild` with widget URL generation and modified `EveryoneRole` property.
- Introduced new classes and enums for guild scheduled event recurrence rules.
- Added JSON model classes for recurrence rule functionality.
@KubaZ2 KubaZ2 linked an issue Sep 1, 2024 that may be closed by this pull request
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.

Some ImageUrl methods don't have their corresponding methods in objects

1 participant