GithubHelp home page GithubHelp logo

md-discord-bot's Introduction

MD-Discord-Bot

wakatime

Commands

Command Options Permission Desciption
info Shows the bot info
poll question, options createpoll Creates a poll with the given options
signoff reason, from, (to) Creates a signoff
signoffinfo user singoffinfo Shows the signoff info of the user
training name, date, description, location, requirements, maxparticipants createtraining Creates a training
sicknote person, reason, from, (to) createsicknote Creates a sicknote
configurate configure Configurate the bot
setgreeting message, channel, enabled setgreeting Sets the greeting
uprank user, role uprank Sends a message about the uprank of the user

Poll

The poll comand creates a poll with the given options. The options are seperated by a comma. The bot will add buttons to the message to vote for the options. A user can only vote once and for one option. The bot will update the message with the current votes.

Buttons:

Button Permission Description
Option Vote for the option
Close closepoll Closes the poll, the results still in the channel, but the users can't vote anymore
Delete deletepoll Deletes the poll and the results

img.png

Signoff

The signoff command creates a signoff for a defined time. The bot will save the signoff anonymously in a database. The bot also adds two buttons to the message to accept or decline the signoff. The bot will update the message with the current votes. When the signoff is accepted the embed will turn green, when the signoff is declined the embed will turn red. Options

Option Description Required
reason The reason for the signoff Yes
from The start date of the signoff the following format: dd.MM.yyyy Yes
to The end date of the signoff the following format: dd.MM.yyyy No

Buttons:

Button Permission Description
Accept acceptsignoff Accepts the signoff
Decline declinesignoff Declines the signoff
Delete deletesignoff Deletes the signoff

img_1.png

Signoffinfo

The signoffinfo command shows the signoff-status, the amount of signoffs and the length of the signoffs of a user. The bot will show the signoffs of the user who executed the command, if no user is given. The bot will show the signoffs of the given user, if a user is given. The message the bot send is only visible for the user who executed the command.

img_2.png

Training

The training command creates a training with the given options. The bot will send a message with added buttons, to join or leave the training.

Options

Option Description Required
name The name of the training Yes
date The date of the training in the following format: dd.MM.yyyy hh:mm Yes
description The description of the training Yes
location The location of the training Yes
requirements The requirements for the training Yes
maxparticipants The maximum amount of participants as an integer Yes

Buttons:

Button Permission Description
Join Joins the training
Leave Leaves the training
Delete deletetraining Deletes the training

img_3.png

Sicknote

The sicknote command creates a sicknote for a defined person, as example an police-officer and a definde time.

Options

Option Description Required
person The person who is sick as example: PD-15 Yes
reason The reason for the sicknote Yes
from The start date of the sicknote in the following format: dd.MM.yyyy Yes
to The end date of the sicknote in the following format: dd.MM.yyyy No

Buttons:

Button Permission Description
Delete deletesicknote Deletes the sicknote

img_4.png

Configurate

The configurate command is used to configurate the bot. The bot will send a message with added buttons, to configurate the bot.

img.png

Setgreeting

The setgreeting command is used to set the greetingmessage of the bot.

Options

Option Description Required
message The message the bot will send when a user joins the server. {user} is used to get replaced with the real users name Yes
channel The channel the bot will send the message in Yes
enabled If the greeting is enabled or not, the bot will send the message if enabled Yes

Uprank

The uprank command sends a message about the uprank of the user.

Options

Option Description Required
user The user who got upranked as example: @user Yes
role The role the user got upranked to as example: Nurse Yes

img_6.png

md-discord-bot's People

Contributors

luftigerluca 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.