ASU-CodeDevils / devilbot

A Rust rewrite of Flameboi to work for our Discord Server.
Apache License 2.0
16 stars 1 forks source link

Request to Slack for a Dynamic Web hook URL #35

Closed reharri7 closed 2 years ago

reharri7 commented 2 years ago

Link to Slack Documentation

Currently the only way we can generate an incoming webhook is through the SlackAPI website. This is not ideal because it limits the amount of channels and users we can interact with. We need to generate a webhook programmatically.

Example: Brandon wants to implement a safety feature in the workplace that detects profanity in the hangout channel. It would be a simple matter to let the bot post a message to the hangout channel when profanity is detected. However, Brandon is not a simple developer who settles for static messages. He is an Alpha Giga Chad who would like to implement a feature that DMs the user who posted profanity (now a dynamic situation) and insults them in private.

Implementing this feature would open DevilBot to many different channels that it listens to, and can react in those situations.

reharri7 commented 2 years ago

Closing this because I found a workaround using conversations.open