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

Add /pad command to post an editor.xdc to a group #1

Closed
wants to merge 6 commits into from

Conversation

missytake
Copy link

@missytake missytake commented Jul 19, 2024

With this feature, groups can have pads that get automatically resent when new users join, so they have the same state as everyone else. The description makes the pads easily searchable inside the group.

@missytake
Copy link
Author

Resending the pads doesn't work yet, hooking into the "member added to group" message doesn't work somehow.

@missytake missytake changed the title WIP: Add /pad command to post an editor.xdc to a group Add /pad command to post an editor.xdc to a group Jul 26, 2024
Comment on lines -43 to -46
err = bot.Rpc.SetConfig(accId, "delete_device_after", option.Some("1800"))
if err != nil {
cli.Logger.Error(err)
}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bot needs to save its messages locally for this feature to work, so I guess this is a dealbreaker for merging it into main. I guess I will fork this instead.

@missytake
Copy link
Author

I forked this branch to https://github.com/deltachat-bot/group-editor-bot instead.

@missytake missytake closed this Jul 28, 2024
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.

1 participant