tgjilo.blogg.se

Slack bot python
Slack bot python













slack bot python

Scroll down to the “Legacy information” section and click Issue token/Re-issue token Post a message: All you need to do though is right click the channel you want to interact with, and select copy link paste that into your text editor, and pull out the ID. After you get your Slack account and channels setup you need to get your token which should look something like this “xoxp-XXXXXXXX-XXXXXXXX-XXXXX”įiguring out where the channel’s ID is can be a bit difficult. Let’s take a look at what we do to build a Slack integrated program. I had see a few of the bigger brain developers I know build some Slack integrations, and I thought “Hey that’s cool, but I bet it’s REALLY complex”…. I have seen several other developers doing something along these lines, but they often seem to hit the same issues I did. So, I love the idea, but my implementation was not ready for production with a proper support model. External users didn’t have to put in tickets and wait a week, network engineering didn’t have to stop what we were doing and look at those tickets. For example: when a system admin wanted to know what VLANs were configured to which VM servers they could just go to a webpage, view the simplified layout, and it would provide them the information in a format they were comfortable with. Not just other network engineers, but it also made life easier for the system admins.

slack bot python

However, it was adopted in an unofficial manner and that in turn expanded who could use my programs significantly.

#Slack bot python code

At my last job many fellow enigneers would made the claim that “I like the idea, and I like the info you can provide, but I am not going to build an entire application, with the proper code and prerequistes, for this use case.” I ended up building a webpage, but with all the security concerns, and limited resources it wasn’t a good fit for production use.















Slack bot python