GithubHelp home page GithubHelp logo

poprostuwitold / sayuna Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 1.0 181 KB

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

License: MIT License

TypeScript 98.88% Dockerfile 1.12%
dependency-injection discord discord-bot discord-js discord-ts discordx distube fun moderation music

sayuna's Introduction

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

sayuna's People

Contributors

poprostuwitold avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

pungrumpy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.