Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/norio-nomura/SwiftCompilerDiscordappBot
Swift Compiler Discordapp Bot
https://github.com/norio-nomura/SwiftCompilerDiscordappBot
discord-bot swift
Last synced: 2 months ago
JSON representation
Swift Compiler Discordapp Bot
- Host: GitHub
- URL: https://github.com/norio-nomura/SwiftCompilerDiscordappBot
- Owner: norio-nomura
- License: mit
- Archived: true
- Created: 2018-04-12T12:34:13.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-07-28T09:30:19.000Z (over 3 years ago)
- Last Synced: 2024-08-06T23:51:38.505Z (6 months ago)
- Topics: discord-bot, swift
- Language: Swift
- Size: 293 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Swift Compiler Discordapp Bot
Written in Swift.
Inspired by [swift-compiler-discord-bot](https://github.com/kishikawakatsumi/swift-compiler-discord-bot).## How to use
### Set Up Bot Account
[Creating a discord bot & getting a token](https://github.com/reactiflux/discord-irc/wiki/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
```terminal.sh-session
export DISCORD_TOKEN="" # set discord token
export DOCKER_IMAGE=norionomura/swift:5.0 # select docker image
docker-compose up
```### Deploy to Heroku
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
```terminal.sh-session
git clone https://github.com/norio-nomura/SwiftCompilerDiscordappBot.git
cd SwiftCompilerDiscordappBot
heroku container:login
heroku create
heroku config:set DISCORD_TOKEN=""
heroku container:push worker --arg DOCKER_IMAGE=norionomura/swift:5.0
```
Configure Dyno on your [Heroku Dashboard](https://dashboard.heroku.com/apps)## Author
Norio Nomura
## License
Swift Compiler Discordapp Bot is available under the MIT license. See the LICENSE file for more info.