mirror of
https://github.com/parkervcp/eggs.git
synced 2025-02-04 01:03:01 +08:00
commit
b4edc93805
@ -32,6 +32,7 @@ If you are reading this it looks like you are looking to add an egg to your serv
|
|||||||
* [CorpBot](/bots/discord/corpbot/) Python
|
* [CorpBot](/bots/discord/corpbot/) Python
|
||||||
* [discord.js](bots/discord/discord.js/) Node JS generic
|
* [discord.js](bots/discord/discord.js/) Node JS generic
|
||||||
* [discord.py](bots/discord/discord.py/) Python generic
|
* [discord.py](bots/discord/discord.py/) Python generic
|
||||||
|
* [discordgo](bots/discord/discordgo/) golang generic
|
||||||
* [fragbot](/bots/discord/fragbot/) Golang
|
* [fragbot](/bots/discord/fragbot/) Golang
|
||||||
* [jmusicbot](/bots/discord/jmusicbot) Java
|
* [jmusicbot](/bots/discord/jmusicbot) Java
|
||||||
* [parkertron](/bots/discord/parkertron/) Golang
|
* [parkertron](/bots/discord/parkertron/) Golang
|
||||||
|
@ -22,6 +22,10 @@ A generic discord.js egg for running discord bots.
|
|||||||
[discord.py](https://discordpy.readthedocs.io/en/latest/)
|
[discord.py](https://discordpy.readthedocs.io/en/latest/)
|
||||||
A generic discord.py egg for running discord bots.
|
A generic discord.py egg for running discord bots.
|
||||||
|
|
||||||
|
#### discordgo
|
||||||
|
[discordgo](https://github.com/bwmarrin/discordgo)
|
||||||
|
A generic go application egg.
|
||||||
|
|
||||||
#### FragBot
|
#### FragBot
|
||||||
[fragforce/fragbot](https://github.com/fragforce/fragbot)
|
[fragforce/fragbot](https://github.com/fragforce/fragbot)
|
||||||
The bot that runs as the fragforce `@Fragbot` offering looking-for-group services for now
|
The bot that runs as the fragforce `@Fragbot` offering looking-for-group services for now
|
||||||
|
9
bots/discord/discordgo/README.md
Normal file
9
bots/discord/discordgo/README.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# discordgo generic
|
||||||
|
This egg was designed to allow a user to pull their own go discord bot from a repo.
|
||||||
|
|
||||||
|
The startup configs and commands may need changing to actually function properly.
|
||||||
|
|
||||||
|
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`
|
45
bots/discord/discordgo/egg-discordgo-generic.json
Normal file
45
bots/discord/discordgo/egg-discordgo-generic.json
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
{
|
||||||
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
||||||
|
"meta": {
|
||||||
|
"version": "PTDL_v1"
|
||||||
|
},
|
||||||
|
"exported_at": "2020-10-11T12:12:50-04:00",
|
||||||
|
"name": "discordgo generic",
|
||||||
|
"author": "parker@parkervcp.com",
|
||||||
|
"description": "A generic golang egg.\r\n\r\nMeant to be customized before it is used.",
|
||||||
|
"image": "quay.io\/parkervcp\/pterodactyl-images:base_debian",
|
||||||
|
"startup": ".\/${EXECUTABLE}",
|
||||||
|
"config": {
|
||||||
|
"files": "{}",
|
||||||
|
"startup": "{}",
|
||||||
|
"logs": "{}",
|
||||||
|
"stop": "^C"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"installation": {
|
||||||
|
"script": "#!\/bin\/bash\r\n# golang generic package\r\n\r\n\r\nif [ ! -d \/mnt\/server\/ ]; then\r\n mkdir -p \/mnt\/server\/\r\nfi\r\n\r\ngo get ${GO_PACKAGE}\r\n\r\ncd src\/${GO_PACKAGE}\r\n\r\ngo get\r\n\r\ngo build\r\n\r\ncp -f ${EXECUTABLE} \/mnt\/server\/",
|
||||||
|
"container": "golang:1.15-buster",
|
||||||
|
"entrypoint": "bash"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"variables": [
|
||||||
|
{
|
||||||
|
"name": "Go Package",
|
||||||
|
"description": "Go package to get and build",
|
||||||
|
"env_variable": "GO_PACKAGE",
|
||||||
|
"default_value": "",
|
||||||
|
"user_viewable": 1,
|
||||||
|
"user_editable": 1,
|
||||||
|
"rules": "required|string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Executable",
|
||||||
|
"description": "This is the executable from the bot build.",
|
||||||
|
"env_variable": "EXECUTABLE",
|
||||||
|
"default_value": "",
|
||||||
|
"user_viewable": 1,
|
||||||
|
"user_editable": 0,
|
||||||
|
"rules": "required|string"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user