Skip to content

Commit

Permalink
make the command require permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Zechiax committed Sep 27, 2024
1 parent 1fd3ef1 commit 984cfae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Asterion/Modules/EntryInteractionModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
using Discord;
using Discord.Interactions;
using System.Threading.Tasks;
using Asterion.Attributes;
using Asterion.AutocompleteHandlers;
using Asterion.Database.Models;

namespace Asterion.Modules
{
[RequireUserPermission(GuildPermission.Administrator, Group = "ManageSubs")]
[DoManageSubsRoleCheck(Group = "ManageSubs")]
public class EntryInteractionModule(ILocalizationService localizationService, IDataService dataService)
: AsterionInteractionModuleBase(localizationService)
{
Expand Down

0 comments on commit 984cfae

Please sign in to comment.