komputer

module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2023 License: GPL-3.0

README

komputer

Discord bot behave as like "komputer". One of character in Star Track parody series created by Dem3000

Configuration

Preferred method to deploy for instance of bot is creating docker container using prepared Dockerfile image. If you don't want to use docker, you can use make install to build and install program. It'll install in /opt/komputer directory.

Environment variable

Bot is configurable via a few environment variables:

  • DISCORD_BOT_TOKEN= Discord Bot Token (required)
  • APPLICATION_ID= Your bot application id (required)
  • SERVER_GUID= Your server ID, where bot will register commands (required)
  • MONGODB_URI= URI to connect MongoDB database (required)
  • MONGODB_DB_NAME= Name of main collection for komputer bot (required)
  • RAPID_API_KEY= API key for RapidAPIs. In project is use: HumorAP (optional)
  • LOG_FILE = Localization of your log file (optional). If you don't use this variable, logs will print on STDOUT

Directories

Path Synopsis
bot module
cmd
dgvoice module
log
web module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL