added basic telegram backend support & smaller changes #20

Closed
opened 2019-06-10 09:48:28 +00:00 by b3yond · 2 comments
Owner

Author: @git-sid Posted at: 25.05.2018 01:42

Author: @git-sid Posted at: 25.05.2018 01:42
Author
Owner

Author: @b3yond Posted at: 25.05.2018 09:58

general feedback: You should get used to write a small description of your code ;) you can't expect maintainers to know the value of your contribution by looking at the code itself. If you want your code to get merged, make it as easy as possible for maintainers :P

In this case it's no problem though, of course :D

Author: @b3yond Posted at: 25.05.2018 09:58 general feedback: You should get used to write a small description of your code ;) you can't expect maintainers to know the value of your contribution by looking at the code itself. If you want your code to get merged, make it as easy as possible for maintainers :P In this case it's no problem though, of course :D
Author
Owner

Author: @b3yond Posted at: 09.09.2018 19:26

Nice, it works.

we tested:

/start  # adds subscriber to db
telegram -> mastodon  # toots message if it fits the pattern
telegram -> telegram  # sends message if it fits the pattern
telegram -> mastodon  # doesn't toot when bad word
telegram -> telegram  # doesn't send further when bad word
mastodon -> telegram  # sends message when good toot
/help  -> shows help when /started

/stop  # stop removes subscriber from db
telegram -> mastodon  # toots messages when message sent & /stopped
telegram -> telegram  # sends message when /stopped
mastodon -> telegram  # doesn't send message when tooted & /stopped
/help  # shows help when /stopped

any use cases we didn't think of?

Author: @b3yond Posted at: 09.09.2018 19:26 Nice, it works. we tested: ``` /start # adds subscriber to db telegram -> mastodon # toots message if it fits the pattern telegram -> telegram # sends message if it fits the pattern telegram -> mastodon # doesn't toot when bad word telegram -> telegram # doesn't send further when bad word mastodon -> telegram # sends message when good toot /help -> shows help when /started /stop # stop removes subscriber from db telegram -> mastodon # toots messages when message sent & /stopped telegram -> telegram # sends message when /stopped mastodon -> telegram # doesn't send message when tooted & /stopped /help # shows help when /stopped ``` any use cases we didn't think of?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: b3yond/ticketfrei#20
No description provided.