2020-10-12 00:16:02 +08:00
# discordgo generic
2021-12-09 21:29:57 +08:00
2021-07-21 23:40:34 +08:00
This egg is designed to run any generic Golang application, allowing users to pull their own Golang discord bot from a Github repository.
2020-10-12 00:16:02 +08:00
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.
2021-12-09 21:29:57 +08:00
`GO_PACKAGE` is the variable for the go repo i.e. `github.com/aurieh/ddg-ng`
2021-07-21 23:40:34 +08:00
`EXECUTABLE` is the variable for the executable that is built i.e. `ddg-ng`
## Configuration
2021-12-09 21:29:57 +08:00
2021-07-21 23:40:34 +08:00
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
2021-12-09 21:29:57 +08:00
```json
2021-07-21 23:40:34 +08:00
{
"done":[
"change this text 1",
"change this text 2"
]
2021-12-09 21:29:57 +08:00
}