GithubHelp home page GithubHelp logo

deltaone's Introduction

DeltaBot

DeltaBot is a Discord bot designed for server moderation, engagement, and information. It offers a variety of features, including:

  • Moderation: Kick and ban users, manage embeds.
  • Server Engagement: Ask DeltaBot questions powered by a large language model (LLM) and receive informative answers.
  • Information: Get server information like member count, creation date, and latest member.
  • Heartbeat Monitoring: Check the status of the bot's heartbeat to ensure it's running smoothly.

Technologies Used

  • Discord.js: For interacting with the Discord API.
  • Large Language Models: Google Generative AI and potentially others (configurable) for answering questions.
  • Axios: For making HTTP requests.
  • Bun: Runtime environment for the bot.
  • Other libraries: dotenv, fs, js-yaml, etc.

Commands

  • /askme: Ask DeltaBot a question and receive an answer from the LLM.
  • /pingme: Check the bot's latency to the API and a website.
  • /serverinfo: Get information about the server.
  • /embedmanager: (Admin) Send or update an embed in a specified channel based on JSON input.
  • /checkme: Check the heartbeat status of the bot.

Configuration

  1. Edit the .env file to set environment variables like DISCORD_TOKEN, API_KEY, and MODEL_NAME.
  2. Modify errors/user_info.yml to provide context about the server and users for the LLM.
  3. Update src/utils/config/config.json to configure the website used for ping checks.

Running the Bot

  1. Install Bun: https://bun.sh/
  2. Run bun install to install dependencies.
  3. Run bun src/index.js to start the bot.

Contributing

Contributions are welcome! Please follow these guidelines:

  • Use clear and concise code.
  • Include error handling in all commands.
  • Document your code with comments.
  • Submit a pull request with your changes.

Disclaimer

This bot is still under development and may have bugs or limitations. Please report any issues you encounter.

deltaone's People

Contributors

wadedesign avatar

Watchers

 avatar  avatar

deltaone's Issues

Create Blog

  • blog for dev
  • blog for new events
  • blog for updates on servers

Minecraft

  • either forge or feed the beast
  • get modlist (forge or ftb)
  • update memory for the server - up to 8gb of ram
  • get discord bot running in-game comms
  • get voice dedicated (proxy chat)
  • advertise server (many places)

Arma 3 - Liberation

  • pick a liberation (kp, or own)
  • pick a set modlist! (new milsim)
  • setup server (pteropanel or amp)
  • advertise

Figure out Mod Uploads!

  • add a command to upload and get mods list via command

Issue:

Context commands suck in discordjs - which this is needed for this type of command

โ€” unless i can figure out a time? then just uploads it after it!

Project Zomboid

  • get mods for the server
  • use either pteropanel or amp panel (issues with amp atm)
  • make sure to update the memory for the server

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.