Git Product home page Git Product logo

kurisubot's Introduction

KurisuBot

KurisuBot is a discord bot intent to run in a homelab server or similar. It is designed to be fast, reliable and with a small memory footprint. It is written in C++ and uses the discord API to interact with the server with the help of D++.

Compiling and running

meson setup builddir
meson compile -C builddir && ./builddir/kurisubot

Use clang format

clang-format -i src/*.cpp

The bot token

The token is a secret key that allows the bot to connect to the discord server. Here, we use a file called env.json in the same folder the executable is in or pass it as an argument to the program.

env.json should look like this:

{
    "token": "your_token_here"
}

You can also pass the token as an argument to the program:

./kurisubot your_token_here

Running in the background

On linux systems:

sudo ./kurisubot & disown

Dependencies

System

Bot was tested on Ubuntu 22.04 Kernel: 6.5.0-26-generic

kurisubot's People

Contributors

thiaudiott avatar

Watchers

 avatar

kurisubot's Issues

Create a `/avatar @user` command

Create a /avatar @user slash command.

It should reply with the image of the avatar of the user. If passed none as the user argument, return the avatar of the user who triggered the event

Static link lib

Bot will need libdpp.so.10.0.29 that's D++ dependency.

How do we static link this into the executable file?

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.