Comments (9)
Hey!
I would like to help on this issue.
Could you give me a few more infos?
Maybe add me on slack and talk there?
from operationcode-pybot.
Sure @73VW. Just go to https://operationcode.org/join and fill out the form and you'll automatically be sent an invitation to slack. Once there check out #daily-programmer to see what that channel is about and we can chat (I'm @Raz0r
on there)
from operationcode-pybot.
Replied to questions on slack, but will post here as well
Should I implement a standalone bot or a “Plugin” for yours?
I have no idea what the difference is. What is it? Pluses and minuses? Doesn’t a bot need someone to trigger it via a slash command? If so this will not work for this.
Am I free to choose the storage technology for the pins or have you planned to discuss it somewhere?
Storage technology to store what? The only thing we would actually need to store are dates, titles, and urls. We don’t need to show them in a very dynamic format. I don’t think a database is necessary - just putting each as a line in a gh-pages repo or github wiki would work fine here. In fact, we could use a markdown table so it can be read easily with code
The same question applies on the data format for storage.
Depends on what exactly you want to do with the above, but I don't think anyone cares. There isn't a lot being stored here.
The same question also applies for the front-end part of the list.
I’m not sure what you are asking here. If we post to a gh-pages repo or wiki then there isn’t really an option. It’s just the name, date, and the link
from operationcode-pybot.
Hello guys,
As the python framework for Slack is not very well documented it took me a bit of time to make progresses but here I am.
You can give a look at this repo.
The bot is now able to list all daily programmer challenges through a slash command and write them in a markdown file. I still couldn't find a way to make it automated at bot startup due to Slack framework.
When a new challenge is sent in the channel and the bot is running it also adds it to the file.
I still have to find and implement the best way to upload this to a gh-pages repo.
from operationcode-pybot.
Hello everyone,
Second update!
The bot is now able to fetch channel history and list challenges at startup! 🎉
It also updates my gh-pages branch everytime it lists challenges or when a new challenge is sent in the channel 🎉
(Everything happens for the moment in my personal Slack server)
What's next? Do you want to deploy it and try to use it for real?
from operationcode-pybot.
@73VW If you open a PR, I'll be happy to review. Be sure to put your changes in a separate branch from staging
so I can pull it down and run it in my local environment.
from operationcode-pybot.
@aaron-suarez I will open a PR but we have to find a way to grant you access to my bot's Slack API page. As suggested in the doc, I have used ngrok to run it locally and if you do so, you have to change the link in the settings everytime you restart ngrok. You also need to have access to the access tokens page.
from operationcode-pybot.
I know that working with slackbot is a pain. I have my own local environment set up, and I will pull down your branch and run it in my own slack dev workspace. If you hard coded something that makes it only work with your workspace, that will be a problem in production as much as it is in my dev instance, so better to find out now. I'll comment on it if I run into issues
from operationcode-pybot.
Closing this in favor of #63 as we'll be adding very similar if not exactly this functionality.
from operationcode-pybot.
Related Issues (20)
- Change resources.yml to resources page HOT 10
- Dependabot couldn't authenticate with https://pypi.python.org/simple/
- Remove /ticket command HOT 2
- Slack Invite Error should go to Ops channel instead of moderator channel HOT 1
- Inheriting 'MutableMapping', which is not a class. HOT 3
- Link to new form for `/mentor-volunteer`
- OC-pybot Welcome Message HOT 6
- Add "Intro to Slack" video to pop up on Slackbot HOT 1
- Add FAQ to OC Pybot HOT 2
- acknowledgement for /report command HOT 2
- Automatic Response for Mentor Requests HOT 1
- New Commands for Support Channels HOT 4
- Mentor Bot Message Thread Improvements HOT 1
- Requestor Affiliation broken HOT 1
- Rewrite - Change the logging behavior to log to Cloudwatch HOT 1
- Rewrite - Switch to Github Actions Instead of CircleCI HOT 2
- Rewrite - Ensure the bot is handling sending invites to users for Slack
- Rewrite - Ensure we handle message changed and message deleted events HOT 1
- Add in `/moderators` command that will list the current moderators
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from operationcode-pybot.