4Source / Doty-the-Discord-Bot

0 stars 0 forks source link

[FEAT] Level System #6

Open 4Source opened 10 months ago

4Source commented 10 months ago
4Source commented 10 months ago

Commands

config level

Configuration for Level System

config level [enabled]

Enable or disable the Level System.

enabled bool True enables the Level System

config level factor [factor]

The Factor for the Level to multiply with.

factor number XP for Level = Summe Level * factor

config level activity [activity] [emote] [xp] [cooldown] [enabled]

Configure The Activitys to gain XP

activity The Activitys to gain/loss XP

emote The Emote Represent the Activity

xp number The XP gain/loss for the Activity

cooldown number The time in seconds the XP before the activity can trigger again

enabled bool Is the Activity enabled

config level role [role] [type] [activity] [xp]

Configure the role what type there are.

role Role The Role/List of Roles to apply this Type

type The Type/List of Types apply to the Role(s).

activity for what activity this type applies

xp only for bonusXP type to set the Bonus XP given for this role by this actvity

config level assign-role [type] [give-role] [take-role] [give-level] [take-level]

Configure what Roles are given/taken at wich level.

type Type of Role assigning

give-role The Role/Role list given.

take-roel The Role/Role list taken.

give-level number Only type Level. The level when to give the Role(s)

take-level number Only type Level. The level when to take the Role(s)

config level set [member] [activity] [value]

This is for switching from another level bot to set existing stats of the Members.

member The member to change the activity value

activity The activity to set the value

value The value to set the stats.

config level auto-clean [delay]

Configure when to Auto-cleanup members there left the Server.

delay number The time to wait befor there stats get permantly deleted. 0 removes them instantly after they left the server.

rank

Shows the Top list of the Server

inviter [member]

Set the Member invited you to the Server.

4Source commented 10 months ago

Event Messages

Level Up/Down Message

Send a Message if a Member got a level up/down.

Rank Up Message

Send a rank up message when a member receives more XP than the member before them. The overtaken members are marked.

Welcome Message

Send a Welcome Message to new Members.

Top Rank Message

Send a Top Ranke Message to display the Top Ranks periodically at a certain time interval.

4Source commented 10 months ago

image

4Source commented 5 months ago

Give user special roles