mirror of
https://github.com/mgerb/ServerStatus
synced 2026-01-10 03:03:04 +00:00
more adjustments
This commit is contained in:
BIN
dist/ServerStatus-linux
vendored
BIN
dist/ServerStatus-linux
vendored
Binary file not shown.
BIN
dist/ServerStatus-windows.exe
vendored
BIN
dist/ServerStatus-windows.exe
vendored
Binary file not shown.
9
makefile
9
makefile
@@ -1,5 +1,8 @@
|
|||||||
all:
|
run:
|
||||||
|
@go run ./src/main.go
|
||||||
|
|
||||||
|
build:
|
||||||
@rm -rf ./dist
|
@rm -rf ./dist
|
||||||
@GOOS=windows GOARCH=386 go build -o ./dist/ServerStatus-windows.exe main.go
|
@GOOS=windows GOARCH=386 go build -o ./dist/ServerStatus-windows.exe ./src/main.go
|
||||||
@go build -o ./dist/ServerStatus-linux main.go
|
@go build -o ./dist/ServerStatus-linux ./src/main.go
|
||||||
@cp config.template.json ./dist/config.json
|
@cp config.template.json ./dist/config.json
|
||||||
@@ -5,12 +5,11 @@ This bot will send a chat notification when the status of a server changes.
|
|||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
- Download or Clone the repo
|
- Download or Clone the repository
|
||||||
- Add your bot token to the config.json file in the dist folder
|
- Add your bot token and room ID to the config.json file in the dist folder
|
||||||
- Add your room id to this file as well
|
- Execute the Windows or Linux binary!
|
||||||
- Execute the correct executable for your operating system!
|
|
||||||
|
|
||||||
### How to get bot token
|
### How to get the bot token
|
||||||
https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token
|
https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token
|
||||||
|
|
||||||
### How to get your room ID
|
### How to get your room ID
|
||||||
|
|||||||
Reference in New Issue
Block a user