Beispiel #1
0
        public async Task RemoveStarBoardChannel()
        {
            if (!((SocketGuildUser)Context.User).GuildPermissions.Has(GuildPermission.ManageChannels))
            {
                await ReplyAsync(":no_entry_sign: You don't have permission to remove the starboard channel! You need Manage Channels permissions!");

                return;
            }
            await starBoardService.RemoveChannel(Context);
        }
Beispiel #2
0
 public async Task RemoveStarBoardChannel()
 {
     await starBoardService.RemoveChannel(Context);
 }