mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
- Reaction roles rewritten completely. They now support multiple exclusivity groups per message and level requirements. However they can only be added one by one
- Bot now support much higher XP values for global and server levels
This commit is contained in:
@@ -187,8 +187,8 @@ public static class MessageChannelExtensions
|
||||
private const string BUTTON_LEFT = "BUTTON_LEFT";
|
||||
private const string BUTTON_RIGHT = "BUTTON_RIGHT";
|
||||
|
||||
private static readonly IEmote _arrowLeft = new Emoji("⬅️");
|
||||
private static readonly IEmote _arrowRight = new Emoji("➡️");
|
||||
private static readonly IEmote _arrowLeft = Emote.Parse("<:x:969658061805465651>");
|
||||
private static readonly IEmote _arrowRight = Emote.Parse("<:x:969658062220701746>");
|
||||
|
||||
public static async Task SendPaginatedConfirmAsync(
|
||||
this ICommandContext ctx,
|
||||
@@ -218,7 +218,7 @@ public static class MessageChannelExtensions
|
||||
.WithEmote(_arrowRight))
|
||||
.Build();
|
||||
|
||||
var msg = await ctx.Channel.EmbedAsync(embed, components: component);
|
||||
var msg = await ctx.Channel.SendAsync(null, embed: embed.Build(), components: component);
|
||||
|
||||
Task OnInteractionAsync(SocketInteraction si)
|
||||
{
|
||||
|
Reference in New Issue
Block a user