Skip to content

SuperMechs-themed discord bot featuring: item lookup, mech building, and more.

Notifications You must be signed in to change notification settings

Enegg/supermechs-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

supermechs-bot

Ruff Commit activity

SuperMechs-themed discord bot featuring item lookup, comparison, mech building, & more.

Installation

  1. Python 3.11+ is required
  2. pip install pdm
  3. pdm install

.env variables

Variable Type Description
BOT_TOKEN* str Discord bot token
HOME_GUILD_ID* int ID of a guild dev-only commands will be registered to
LOGS_CHANNEL_ID int ID of a text channel error messages will be sent to
DEFAULT_PACK_URL str Path/url of the default items pack
MISSING_IMAGE_URL str Path/url of a placeholder image
MAX_IMAGE_SIZE int** Max size of an image fetched from user source
CHUNK_SIZE int** Size of a chunk used while requesting data

* required
** supports binary prefixes (10MiB, 5KiB, etc)

CLI flags

Flag Type Default Description
--dotenv_path str "dev.env" Path to the .env file
--indev bool __debug__ Whether the bot is in development mode
--debug_command_sync bool __debug__ Whether disnake should log detailed sync info

About

SuperMechs-themed discord bot featuring: item lookup, mech building, and more.

Topics

Resources

Stars

Watchers

Forks

Languages