Example applications built with SlackKit
Swift
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Leaderboard
robot-or-not-bot
.gitignore
LICENSE
README.md

README.md

Examples: SlackKit Examples

Swift Version Plaforms License MIT SwiftPM compatible Carthage compatible CocoaPods compatible

Example applications built with SlackKit.

Leaderbot

A basic leaderboard scoring bot, in the spirit of PlusPlus, built with SlackKit.

To configure it, enter your bot’s API token in main.swift for the Leaderboard bot:

let bot = Leaderbot(apiToken: "xoxb-SLACK_BOT_TOKEN")

It adds a point for every @user++ or thing++, subtracts a point for every @user-- or thing--, and shows a leaderboard when asked @botname leaderboard.

Robot-or-Not Bot

A bot that renders verdicts on if something is a robot or not.

To configure it, enter your bot’s API token in main.swift:

let slackbot = RobotOrNotBot(token: "xoxb-SLACK_API_TOKEN")

It renders a robot or not verdict when asked @bot THING.

Step By Step Tutorial