Giter VIP home page Giter VIP logo

doenermann-bot's Introduction

Dönermann-Bot

A Repository with the Dönermann Bot used in a private Discord server of mine. It's using the Serenity rs libary. It can be forked and further used without any restrictions.

Now it can:

  • Copy Message of a Channel in a file
  • Show with a command how many were copied(/count)
  • a normal ping(/döner) command
  • Add your birthday with /set_birthday
  • show the next upcomming birthdays(/next_birthdays)
  • Give a user a Member Role when the user joins the server

Dependencies:

  • all Dependencies are Stated in the Cargo.toml
  • just run the bin file provided in the release

Usage:

  • First you have to add an Application in the Discord Developer Portal and create a bot
  • After that you paste your bot token in .env and have to enable all of the of the Privileged Gateway Intents options in the options of your bot
  • Now you have to add your server id, the channel id(where you like the files to be copied from) and the id of the Member role(you have to create those) to the .env file:
DISCORD_TOKEN=Your Token
GUILD_ID=The Server IdencH:
C_CHANNEL_ID=The copy Channel Id
ROLE_ID=The Role Id you give players when they join the server
  • You can start the bot by running the binary file provided in the release(make sure to give it the right permissions and that the files: .env, birthdays.csv and citations.txt are in the same directory as the bin file):
./doenermann-bot

Building Example (Cross):

cross build -r --target aarch64-unknown-linux-gnu

Todos

  • Generalize Error Handling
  • Add MAL Scoreboard/List (unsure about what exactly I am going to add)

doenermann-bot's People

Contributors

nwrenger avatar

Stargazers

 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.