zekroTJA / shinpuru

シンプル - Discord Bot with role selection, moderation, karma ranking, a starboard, code execution, raid alerting, backups, a web interface, twitch notifications and more!
https://shnp.de
MIT License
190 stars 37 forks source link

pkg/acceptmsg: make able to use in ephemeral messages #394

Closed zekroTJA closed 1 year ago

zekroTJA commented 1 year ago

Currently, the package uses kens Components().Add method to add message components to the accept message by editing the send message. This has the disadvantage, that this can not be done with ephemeral messages. The package should add the components manually on sending the message itself and registering and handling the component handlers in ken manually.

This issue is blocked by zekrotja/ken#13.