Open teampolyglot opened 4 years ago
I've implemented DailySlackAlertJob
. Keeping it open for future ideas about conversations and more bot features.
Hi. I am new to Open Source Contribution. I would Like to Know what is the issue about? Should i have to add functionality to the bot or Should I have to create a Bot from Scratch. Please Help!
Hi @Sanket-Ghosh
Sure. Can you join the Slack and ping in the #meta channel? You can find the link here: https://learnawesome.org/join_slack
hey, can I work on this project
In last few commits, I have implemented a basic Slack bot functionality. This is how it works:
chat:write
,chat:write.public
,commands
Once the permission is granted, the access token is stored in
SlackAuthorization
table.This bot currently adds two slash commands:
/startlearning [topic]
and/stoplearning [topic]
. Using these commands, slack teams' channels can subscribe/unsubscribe to topics. These subscriptions are kept inSlackSubscription
table which has a schema(slack_authorization_id, channel_id, topic_id)
Whenever a new item is created, all such channels are notified by
SlackSubscriptionNotifyJob
.This is different from
SlackNotifyJob
which is used only in our own slack to post items from ALL topics to the#new-items
channel. BTW, we also post a random topic to our#general
channel inSocialMediaUpdatesJob
every day at 13:00 UTC.Enhancement ideas