control-net / Miunie

Miunie is a community developed bot with an attitude.
Other
46 stars 31 forks source link

πŸ’™ - Send messages to channels #202

Closed petrspelos closed 4 years ago

petrspelos commented 4 years ago

πŸŸ₯🟩 WINDOWS 10 - Version 1903+ is required for the UWP UI. 🟦🟨 How to setup UWP

Summary

The user can view messages from different channels, but they cannot send one. This feature would allow them to send messages (as Miunie) into different channels from the same view.

image

What needs to be done

The ServersPage view should get a new input box and a "send" button. When the user fills the input and hits send, Miunie sends their message into the currently viewed Discord channel.

Technical notes

The IDiscordImpersonation (from Miunie.Core) and the implementation Impersonation.cs (from Miunie.Discord) should get a new method that would allow for a string to be posted into a channel based on a ulong channel id. (Server id can be added as well if it turns out to be required).

The chat page view in UWP will need new UI elements to get the needed information from the user.

The ImpersonationChatPageViewModel already demonstrates an interaction with the impersonation class. New code would be added into the ImpersonationChatPageViewModel class to achieve the desired behavior.

Interested? 😊

If you'd like to help us by solving this issue, just say so in the comments. ❀️ And don't shy away from asking any kind of question you might have.

Should you have any questions at all, feel free to contact either me (@petrspelos) or @DraxCodes on our Discord server:

Discord

And of course, thank you so much for contributing! πŸŽ‰ It's because of amazing people like yourself that Miunie exists.

petrspelos commented 4 years ago

I'll tackle this one, just so we get moving with UWP. πŸ™Œ πŸŽ‰

bitmoji