Skip to content

Commit 74aff13

Browse files
Restrict /send-insiders-info-buttons to Trial Moderators
1 parent 2598bb5 commit 74aff13

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Commands/InteractionCommands/InsidersInteractions.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ namespace Cliptok.Commands.InteractionCommands
22
{
33
public class InsidersInteractions : ApplicationCommandModule
44
{
5-
[SlashCommand("send-insiders-info-buttons", "Sends a message with buttons to get Insider roles for #insiders-info.")]
5+
[SlashCommand("send-insiders-info-buttons", "Sends a message with buttons to get Insider roles for #insiders-info.", false)]
6+
[SlashRequireHomeserverPerm(ServerPermLevel.TrialModerator), SlashCommandPermissions(permissions: DiscordPermission.ModerateMembers)]
67
public static async Task SendInsidersInfoButtonMessage(InteractionContext ctx)
78
{
89
if (Program.cfgjson.InsiderInfoChannel != 0 && ctx.Channel.Id != Program.cfgjson.InsiderInfoChannel)

0 commit comments

Comments
 (0)