Skip to content

xBiggs/KomBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KomBot

A TypeScript MK9 Frame Data discord.js Bot.

Configuration

Create a .env file in the root directory with the following:

# .env
TOKEN = ""
PREFIX = ""

Installation Requirements

Build

bun install
bun .

Deploy systemd Service

[Unit]
Description="kombot"

[Service]
ExecStartPre=/bin/bash -c '! /usr/bin/systemctl is-active --quiet kombot.service'
ExecStart=<PATH_TO_BUN> <PATH_TO_INDEX.TS>
Restart=always
RestartSec=10
StandardError=syslog
SyslogIdentifier=kombot-bun
Enviroment="PATH=<PATH_TO_BUN>"
Enviroment="NODE_ENV=production"
WorkingDirectory=<PROJECT_DIRECTORY>

[Install]
WantedBy=multi-user.target

Replace contents of kombot.service with your host's path information.

Create a symbolic link to systemd:

$sudo ln -s <PATH_TO_kombot.service> /etc/systemd/system/kombot.service

About

An MK9 Frame Data Discord Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published