ShimmyMySherbet / DiscordWebhooks

A lightweight discord webhook client with modern message constructors.
MIT License
8 stars 4 forks source link

Add shotcut method to DiscordWebhookChannel for editing messages #10

Open Jdance-Media opened 7 months ago

Jdance-Media commented 7 months ago

You have it so the method to edit a message is in PostedWebhookMessage. What if I'm trying to edit a message after the plugin restarts? I don't have that particular object stored anymore. There is also no proper constructor for PostedWebhookMessage.

Of course I can use DiscordWebhookService, but that somewhat defeats the point in the whole DiscordWebhookChannel object and all.

ShimmyMySherbet commented 7 months ago

Are you asking for a shortcut method be added to the DiscordWebhookChannel type? I'm not sure if I'm missing something, but I really do not see how a slight inconvenience like that makes it 'seriously flawed'.

Jdance-Media commented 7 months ago

Yeah, I eventually figured out that it was not seriously flawed. But I still think that a shortcut method would be nice considering the example shows no usage of the service class.

On Sat, Apr 27, 2024 at 11:07 PM ShimmyMySherbet @.***> wrote:

Are you asking for a shortcut method be added to the DiscordWebhookChannel type? I'm not sure if I'm missing something, but I really do not see how a slight inconvenience like that makes it 'seriously flawed'.

— Reply to this email directly, view it on GitHub https://github.com/ShimmyMySherbet/DiscordWebhooks/issues/10#issuecomment-2081305456, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQCGOLWPQMURHSPRP3J47ODY7RRVNAVCNFSM6AAAAABG4KI7ICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBRGMYDKNBVGY . You are receiving this because you authored the thread.Message ID: @.***>