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

                return;
            }
            await starBoardService.SetChannel(Context);
        }
Exemple #2
0
 public async Task SetStarBoardChannel()
 {
     await starBoardService.SetChannel(Context);
 }