Swiftpack.co -  norio-nomura/SwiftCompilerDiscordappBot as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Swift Compiler Discordapp Bot
.package(url: "https://github.com/norio-nomura/SwiftCompilerDiscordappBot.git", from: "1.0")

Swift Compiler Discordapp Bot

Written in Swift.
Inspired by swift-compiler-discord-bot.

How to use

Set Up Bot Account

Creating a discord bot & getting a token

Required Permissions

  • CHANGE_NICKNAME for update nickname
  • READ_MESSAGE_HISTORY and VIEW_CHANNEL for update replies on updating request from user

Test on local host

export DISCORD_TOKEN="<discord token here>" # set discord token
export DOCKER_IMAGE=norionomura/swift:5.0 # select docker image
docker-compose up

Deploy to Heroku


git clone https://github.com/norio-nomura/SwiftCompilerDiscordappBot.git
cd SwiftCompilerDiscordappBot
heroku container:login
heroku create
heroku config:set DISCORD_TOKEN="<discord token here>"
heroku container:push worker --arg DOCKER_IMAGE=norionomura/swift:5.0

Configure Dyno on your Heroku Dashboard


Norio Nomura


Swift Compiler Discordapp Bot is available under the MIT license. See the LICENSE file for more info.


Stars: 4
Last commit: 8 hours ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API