Skip to content

PoProstuWitold/Sayuna

Repository files navigation

Sayuna

Easily extensible and customizable all-in-one Discord bot. Moderation, music & fun! Written in Typescript, Node.js, discord.js, discordx, ESM.

Docker

You can run this bot using official Docker image. There are all instructions and available options for running in Docker container.

Requirements

  • Node.js lts/iron (v20.11.1)
  • ffmpeg (installation instructions can be found here)
  • Discord bot account and a Discord server

Features

  • Logging
  • Error handling
  • Slash commands
    • General (info, music, fun)
    • Moderation (managing users and channels)
    • Owner (dev)

Usage

0. Create .env file in server root directory and fill with following:

# ALL ENV
BOT_TOKEN=

# DEV
# you can provide more than one using syntax: 'guild_id1, guild_id2'
DEV_GUILD_ID=

# OWNER COMMANDS
OWNER_ID=

# CLEANER LOGS & LEGACY MESSAGE COMMANDS (OPTIONAL)
BOT_ID=
BOT_PREFIX=

# AI
# Access token for talking to ChatGPT
AI_ENABLED= # 1 - enabled, every other value - disabled
CHAT_GPT_API_KEY=

# Dashboard
PORT=3006

1. Install dependencies

2. Run in development or production mode using npm scripts

TO DO

  • Logging
  • Error handling
  • AI
  • Commands
    • Fun commands
    • Music Commands
      • Current music dashboard with real-time updates
    • Moderation commands

LICENSE

MIT

About

Easily extensible and customizable all-in-one Discord bot. Moderation, music & fun! Built around dependency injection pattern.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published