Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New /message bot command #96

Open
missytake opened this issue Jan 13, 2023 · 1 comment
Open

New /message bot command #96

missytake opened this issue Jan 13, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@missytake
Copy link
Contributor

missytake commented Jan 13, 2023

one limitation of mailadm's teams bot implementation which might also be relevant for the proper teams bot one day - you can't really start a conversation with another address and have it in a collective chat right now. The collective chats only get created when there is an incoming message.

So maybe interesting would be a bot command which you could execute in the admin group for example, something like:

/message [email protected]
Hi Bob,
long time no see. You still owe our family quite some amount of money.
You don't want one of our "cousins" to drop by, do you?
Make up your mind what type of person you are, the type that stands for their debts or the type that...
doesn't.

The bot would then send the message (minus the first line), create a new group with all the people in the admin group and the receiver as title (so that responses of the receiver end up here), and forward the sent message there as the conversation starter.

@missytake
Copy link
Contributor Author

missytake commented Jan 13, 2023

Right now the bot doesn't support being in groups other than the admin group and collective group chats. If we support that one day, we could handle the case that more than one recipient is added in the first line. Until then I would raise an error if more than one argument is given.

@missytake missytake added the enhancement New feature or request label Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant