Discord bot that mimics Ancestor's (from the game Darkest Dungeon) behavior and humour. Tests resolve.
Discord bot that mimics Ancestor’s (from the game Darkest Dungeon) behavior and humour. Tests resolve.
To use AncestorBotPHP, simply invite him to your Discord server via invite URL (provided you are the server administrator or have permission to do so).
BLANK FOR NOW
BLANK FOR NOW
Command prefix: !
(exclamation mark)
Commands are called by sending a text message containing ![command name] [arguments (if any)]
in a chat accesable by the AncestorBot.
Name | Description | Aliases | Syntax |
---|---|---|---|
help | Lists all commands if used without arguments. Displays description of a command if used with an apropriate argument. | help , help [command] |
|
fight | Launches the Farmstead minigame. More information and instructions. | f, df, dfight | f , f [name of an action] , f pass turn , f help , f stats , f actions , f ff , f [class name] |
gold | Sends picture of a random reward. | gold |
|
spin | Creates and sends a GIF of a user avatar or of a provided picture spinning inside of Tide™. If no arguments are provided, sender’s own avatar is spinned. | spin , spin [user mention] , spin [picture url] |
|
zalgo | Turns given text into zalgo text. Looks something ̝̺̋l̃̊̕i͈͌͡k̛͉̕e̟̩ͥ ͆̄͐ẗ̥́̓ḧ̸͝i̷͚͘s | cursed | zalgo [text] |
stress | Creates and sends an image of a user avatar or of a provided picture being stressed by a glass of wine. If no arguments are provided, sender’s own avatar is stressed. | stress , stress [user mention] , stress [picture url] |
|
roll | Sends a random number within given numeric span. If no arguments are provided, span of [1, 6] is used. If only one argument is provided, it will be used as a maximum of a span with the minumum of 1. | roll , roll [max] , roll [min] [max] |
|
read | Sends a writing-related curio for a user to interact with. Results depend on user’s reactions and may include written text, images or literally nothing. | book, heckbooks, knowledge | read , read [action name] |
reveal | Adds tentacles to a picture or to a user avatar. If no arguments are provided, sender’s own avatar is used. | tentacles | reveal , reveal [user mention] , reveal [picture url] |
remind | Reminds a user or a role about important life lesson via text message. | remind , remind [user mention] , remind [role mention] |
Chat reactions occur when a user performs a specific action in a text channel.
Currently AncestorBotPHP has following reactions to text messages:
[My resolve is tested]
or [user mention] resolve is tested
or ...resolve is tested...
— tests one’s resolve, with a 25% chance of a virtue. Case insensitve.[picture or URL in NSFW-named or NSFW-marked channel]
— 20% chance to respond with a snarky comment.Command | Image |
---|---|
zalgo | ![]() |
gold | ![]() |
remind | ![]() |
stress | ![]() |
roll | ![]() |
spin | ![]() |
read (initial action) | ![]() |
read (subsequent action) | ![]() |
reveal | ![]() |
You can either run the bot in Docker (Dockerfile and .dockerignore are provided), or as a service, or just directly from shell.
AncestorBotPHP should also be compatable with most cloud-based application hosting platforms, such as Heroku. Heroku Procfile is present in the repository’s root.
gd
extension with the support of JPG, PNG, WebP, BMP and FreeTypezlip
extensionjson
extensionext-mbstring
if handling non-english characters (which the bot will almost surely do).composer update
in the directoryabot_token
environment variable and assign your bot’s token to it..env
file in the root directory of the project containing the following line: abot_token="your_token_here"
php bot_start.php
in the project’s directoryEnsure that you have Docker installed and configured.
docker build . -t ancestor:latest
.env
file containing abot_token="your_token_here"
in the project’s root directory prior to that.docker run -d ancestor:latest
Darkest Dungeon is a game made by Red Hook Studios.
AncestorBotPHP is a Discord bot made using DiscordPHP and other PHP libraries specified in Composer file.
AncestorBotPHP is not made to collect data of any kind. It features no database and is without permanent storage of incoming via Discord API information.