Skip to content

Abider is a far out Discord bot. It can be used by administrators to have a little instance somewhere (a container, specifically), and to run shell commands from it.

License

DaemonDude23/abider

Repository files navigation

Abider


Maintenance Maintainer

made-with-python

About

Why

Abider is a far out Discord bot. It can be used by system administrators to have a little instance somewhere (a container, specifically), and to run shell commands from it.

It's packaged with Debian and Alpine containers, and a docker-compose.yaml and Helm Chart.

After the uh... what-have-you and before you go to the In-N-Out Burger, check it out:

abider-0

abider-1

abider-2

Bot Setup

Discord

Deploy

Technical Info

Architectures

  • The container is built with these linux architectures:
    • linux/amd64
    • linux/arm64

Security

  • The container runs as a non-root user with UID/GID of 405.
  • All privileges are dropped.

Configuration

Configuration is done through environment variables except the logging format, which is a YAML:

Environment Variable Default Type Description
ABIDER_DISCORD_CHANNEL_ID "" str Required - Defines the Discord Channel ID.
ABIDER_SUBPROCESS_TIMEOUT "30" str Optional - Defines how long to wait before aborting command execution.
ABIDER_DEBUGPY N/A str Optional - Set to "enabled" to use debugpy for remote debugging (along with a manually created image which contains that module).
ABIDER_DEBUGPY_WAIT N/A str Optional - Set to "enabled" if using debugpy for remote debugging, this will wait for it to connect so you can debug initialization.
ABIDER_WEEKDAY N/A str Optional - Set to "enabled" so the bot communicates more professionally and not at all Dude-like.

Adding more packages/tools to the container

  • Modify the Dockerfiles here or here depending on your desired OS: ./src/Dockerfile-debian.
    • By default, the curl package is added so just expand on that section of the file to suit your needs.

Other Stuff

Dev

See ./docs/dev.md for easy ways to set up a dev environment for contribution.

About

Abider is a far out Discord bot. It can be used by administrators to have a little instance somewhere (a container, specifically), and to run shell commands from it.

Resources

License

Stars

Watchers

Forks