![]() Default username - the string that is used when the bot is mentioned in a message.Display name - the name that is displayed to other users when the bot posts messages, or the bot's profile is viewed, etc.You'll be presented with a button marked Add a Bot User, and when you click on it, you'll see a screen where you can configure your app's bot user with the following info: Head to your app's settings page and click the Bot Users feature in the navigation menu. To use your Slack App as a bot, first you'll need to create a Bot User for it. That done, you're all ready to arrange the architecture of this automaton. If you don't already have one, click the following button to create it: The following steps will get you to the point where you have a bot waiting for messages with trigger words and sending simple responses.įrom there, you can start bolting on whatever kind of amazing app logic or nuclear-powered jet-packs you can imagine.īefore you start, you'll need a Slack App. Since your bot is capable of doing everything that a Slack App can do, we're going to limit our focus to a common use-case for bots. Your bot can send DMs, it can be mentioned by users, it can post messages or upload files, and it can be invited to channels - or kicked out.īots are not cybernetic infiltration units, and it is unlikely that they dream of electric sheep, though we can't rule it out. ![]() Responding to mentions using the Web APIĪ bot is a type of Slack App designed to interact with users via conversation.Ī bot is the same as a regular app: it can access the same range of APIs and do all of the magical things that a Slack App can do.īut when you build a bot for your Slack App, you're giving that app a face, a name, and a personality, and encouraging users to talk to it.Check out new Slack apps now.Įnable conversations between users and apps in Slack by building bots. ![]() Build a bot user powered by only the specific permissions it needs. ![]() New Slack apps act independently of a user token. This article describes an outdated approach to Slack apps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |