forked from zaanposni/discord-masz
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e8e9fd6
commit 8bc3dc5
Showing
12 changed files
with
417 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
using Discord; | ||
using System.ComponentModel.DataAnnotations; | ||
|
||
namespace Levels.DTOs; | ||
|
||
public class GuildLevelConfigDto | ||
{ | ||
public ulong Id { get; set; } | ||
|
||
public float[] Coefficients { get; set; } | ||
public int XpInterval { get; set; } | ||
public int MinimumTextXpGiven { get; set; } | ||
public int MaximumTextXpGiven { get; set; } | ||
public int MinimumVoiceXpGiven { get; set; } | ||
public int MaximumVoiceXpGiven { get; set; } | ||
public string LevelUpTemplate { get; set; } | ||
public ulong VoiceLevelUpChannel { get; set; } | ||
public ulong TextLevelUpChannel { get; set; } | ||
|
||
public ulong[] DisabledXpChannels { get; set; } | ||
public bool HandleRoles { get; set; } | ||
public bool SendTextLevelUps { get; set; } | ||
public bool SendVoiceLevelUps { get; set; } | ||
public bool VoiceXpCountMutedMembers { get; set; } | ||
public int VoiceXpRequiredMembers { get; set; } | ||
|
||
public ulong NicknameDisabledRole { get; set; } | ||
public ulong NicknameDisabledReplacement { get; set; } | ||
|
||
public Dictionary<int, ulong[]> Levels { get; set; } | ||
public Dictionary<int, string> LevelUpMessageOverrides { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
158 changes: 158 additions & 0 deletions
158
backend/Levels/Migrations/20240304072309_ExperienceModelMerge.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.