Giter Site home page Giter Site logo

Comments (9)

73VW avatar 73VW commented on May 25, 2024

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.

aaron-junot avatar aaron-junot commented on May 25, 2024

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.

togakangaroo avatar togakangaroo commented on May 25, 2024

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.

73VW avatar 73VW commented on May 25, 2024

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.

73VW avatar 73VW commented on May 25, 2024

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.

aaron-junot avatar aaron-junot commented on May 25, 2024

@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.

73VW avatar 73VW commented on May 25, 2024

@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.

aaron-junot avatar aaron-junot commented on May 25, 2024

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.

JudsonStevens avatar JudsonStevens commented on May 25, 2024

Closing this in favor of #63 as we'll be adding very similar if not exactly this functionality.

from operationcode-pybot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.