Skip to content

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

License

Notifications You must be signed in to change notification settings

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

...or just Docker to run production version.

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=
CHAT_GPT_API_KEY=

# Debug logs in production
LOG_EVERYTHING=true

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