Skip to content

Commit

Permalink
Restrict /send-insiders-info-buttons to Trial Moderators
Browse files Browse the repository at this point in the history
  • Loading branch information
FloatingMilkshake committed Dec 31, 2024
1 parent 2598bb5 commit 74aff13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Commands/InteractionCommands/InsidersInteractions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ namespace Cliptok.Commands.InteractionCommands
{
public class InsidersInteractions : ApplicationCommandModule
{
[SlashCommand("send-insiders-info-buttons", "Sends a message with buttons to get Insider roles for #insiders-info.")]
[SlashCommand("send-insiders-info-buttons", "Sends a message with buttons to get Insider roles for #insiders-info.", false)]
[SlashRequireHomeserverPerm(ServerPermLevel.TrialModerator), SlashCommandPermissions(permissions: DiscordPermission.ModerateMembers)]
public static async Task SendInsidersInfoButtonMessage(InteractionContext ctx)
{
if (Program.cfgjson.InsiderInfoChannel != 0 && ctx.Channel.Id != Program.cfgjson.InsiderInfoChannel)
Expand Down

0 comments on commit 74aff13

Please sign in to comment.