eggs/generic/golang/README.md

26 lines
974 B
Markdown
Raw Normal View History

# discordgo generic
This egg is designed to run any generic Golang application, allowing users to pull their own Golang discord bot from a Github repository.
The startup configs and commands may need changing to actually function properly.
2020-10-12 00:20:31 +08:00
Users cannot upload their own code as this is built to build the resulting bot.
`GO_PACKAGE` is the variable for the go repo i.e. `github.com/aurieh/ddg-ng`
`EXECUTABLE` is the variable for the executable that is built i.e. `ddg-ng`
## Configuration
The server will be stuck as `starting` until the egg Start Configuration is modified. You have to edit the text to match something your bot will print for Pterodactyl panel to detect it as running.
![image](https://user-images.githubusercontent.com/10975908/126516861-c5cb4630-9f25-405c-8199-97bf5ec15a7f.png)
You can use arrays to have multiple different values when different bots are being used
```json
{
"done":[
"change this text 1",
"change this text 2"
]
}