Coder Social home page Coder Social logo

dapi's Introduction

DAPI

This repository is a collection of some Discord bots written in C#.

Used packages

Bots

Installation

  • Clone the repository and build your desired bot in the latest master branch. The bots support both Linux (x64, x86, arm64 and arm32) and Windows (x64 and x86). Depending on the OS you are using, proceed with the corresponding instructions:

Windows

  • Requires the .NET Core 3.1 runtime to be installed.
  • Just do a release build and your good to go.
  • ffmpeg.exe, opus.dll and sodium.dll (which are used for voice) are included in the build.

Linux

  • Requires the .NET Core 3.1 runtime to be installed.

  • You need to install the following packages (Debian) for a working voice setup:

      sudo apt-get install libopus0 libsodium18 libopus-dev libsodium-dev
    
  • Depending on your distribution and version, you might need to install different packages. You do not need ffmpeg.exe, opus.dll and sodium.dll. Delete them to save some diskspace.

  • Do a release build.

  • Execute the <bot>.dll in the release folder by running the command:

      dotnet <bot>.dll
    
  • Have fun!

Service

With Linux it is also possible to register the Bot as a service. To do that following these steps:

  • Create a new <bot>.serivce in the directory /lib/system/systemd/.
  • TODO

dapi's People

Contributors

grado0699 avatar dgr-wd avatar

Watchers

 avatar

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.