Skip to content

A template and setup guide to build a bot in slack using C#

License

Notifications You must be signed in to change notification settings

rohan-buechner/slack-bot-csharp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of Contents

Generate API Key
Usage
Contributing

Generate API Key

  1. Navigate to https://api.slack.com/
  2. Click Start Building.
  3. Provide an app name and select the development slack workspace.
  4. Click "Create App".
  5. Select Bots.
  6. Add a bot user, provide a display name and a default username.
  7. Click save changes.
  8. Click the Basic Information tab on the left menu.
  9. Click "Install your app to your workspace".
  10. Select "Oauth & Permissions" Copy the Bot User Oauth Access Token and paste this in the app.config.

Usage

Provide the API token in the app.config.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <appSettings>
    <add key="SlackBotApiToken" value="" />
  </appSettings>
</configuration>

grab-landing-page

Contributing

Pull requests are welcome.

For large changes, please open an issue first to discuss what you would like to add.

About

A template and setup guide to build a bot in slack using C#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%