chrisvdg / scrumtime Goto Github PK
View Code? Open in Web Editor NEWSimple bot announcing scrum time
License: MIT License
Simple bot announcing scrum time
License: MIT License
Use Go modules instead of Go dep
In succession of #19
Implement message delete for slack.
At the very least message that it's not implemented.
Update the cron library and test the behavior
I think the current version only supports the quartz-scheduler format while the newer version is either the Linux cron format (I guess this is more widely known) or can support both.
config section of the readme is outdated
No tests have been added as logic from this project itself is quite limited, it's mostly API interaction, but as features will be added the need to testing will rise.
Cleanup unneeded files with go mod tidy
Either find a way for the container using the scrumtime image to use the timezone of the host and/or document a way to set/change it.
To keep the chat cleaner add an option to clean the scheduled message up after a configured/default timeout.
If this feature is configured, after the message has been sent, start a go routine that counts down until the timeout has been reached and sent an API call to the chat platform to delete the message.
If the bot gets restarted while a timeout goroutine is running, it may prevent that message from being cleaned up, for this FR this is acceptable.
Would be really cool to add a Gopher Mascot to this project.
Currently open requests:
Allow empty messengers in a schedule, this would allow a message to be muted later on when adding the webhook or quickly comment out the messengers in the config to manually mute a message that might be used again later.
Could be done together with #7
Add option to disable link preview on a message (with links)
for telegram:
https://core.telegram.org/bots/api#editmessagetext
Telegram part of #6
In the telegram we could use the GetUpdatesChan
method of the bot api, this should prevent us from opening and publicly exposing a port for receiving callbacks on updates.
We could add a flag to the bot config to enable listening for updates.
The bot receives an update when in a chat the bot is in, a message starts with /
We can make all commands for the scrumbot start with /scrumbot
, remove it from the command and pass it to functions that may not be telegram specific to process the command.
For slack we could make the bot listen for the bot being mentioned and remove the mention tag to process the command.
In the config create a list of messenger configs.
In the message configs make it reference to the messenger configs to make messengers more easily reusable.
This is an issue to track all issues/features related to implement the first version being able to interact with the config through the chat.
If working on one or more of the features in this issue, please create a separate issue for it and reference it here. Check the feature when it is merged in master.
Implement for:
Features to add with this functionality:
Roadmap (Can de pushed to a later release):
Add support for following platforms:
Feel free to suggest platforms in the comment of this issue
The app config now consist of 2 top level parts: messengers
for the chat platform api configs and schedules
for the messages.
First idea was to rename schedules
to a more logical messages
but this can easy be mistaken with messengers
.
Todo:
App
struct and usageA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.