Written in Swift.
Inspired by swift-compiler-discord-bot.
Creating a discord bot & getting a token
CHANGE_NICKNAME
for update nicknameREAD_MESSAGE_HISTORY
andVIEW_CHANNEL
for update replies on updating request from user
export DISCORD_TOKEN="<discord token here>" # set discord token
export DOCKER_IMAGE=norionomura/swift:5.0 # select docker image
docker-compose up
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.