mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 17:58:26 -04:00
add: Added .xplevelset
remove: removed awardedxp from database. change: .sclr show will now show hex change: .awardxp will now add directly to user's real xp
This commit is contained in:
@@ -12,17 +12,21 @@ public partial class Utility
|
||||
[RequireContext(ContextType.Guild)]
|
||||
public async Task ServerColorsShow()
|
||||
{
|
||||
var colors = _service.GetColors(ctx.Guild.Id);
|
||||
var okHex = colors?.Ok?.RawValue.ToString("X8");
|
||||
var warnHex = colors?.Warn?.RawValue.ToString("X8");
|
||||
var errHex = colors?.Error?.RawValue.ToString("X8");
|
||||
EmbedBuilder[] ebs =
|
||||
[
|
||||
CreateEmbed()
|
||||
.WithOkColor()
|
||||
.WithDescription("\\✅"),
|
||||
.WithDescription($"\\✅ {okHex}"),
|
||||
CreateEmbed()
|
||||
.WithPendingColor()
|
||||
.WithDescription("\\⏳\\⚠️"),
|
||||
.WithDescription($"\\⏳\\⚠️ {warnHex}"),
|
||||
CreateEmbed()
|
||||
.WithErrorColor()
|
||||
.WithDescription("\\❌")
|
||||
.WithDescription($"\\❌ {errHex}")
|
||||
];
|
||||
|
||||
await Response()
|
||||
|
Reference in New Issue
Block a user