-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged PR 177: Fix bug where team roles were ignored by !setRosters i…
…f they didn't have access to the channel - Fix a bug where we ignored team roles that didn't have access to a the channel where the !setRosters command was called - Bump version to 3.8.2
- Loading branch information
1 parent
64c173e
commit e5d41a6
Showing
11 changed files
with
526 additions
and
531 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 11 additions & 3 deletions
14
QuizBowlDiscordScoreTracker/TeamManager/IByRoleTeamManager.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,24 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
|
||
namespace QuizBowlDiscordScoreTracker.TeamManager | ||
{ | ||
public interface IByRoleTeamManager | ||
public interface IByRoleTeamManager : ITeamManager | ||
{ | ||
Task<IReadOnlyDictionary<string, string>> GetTeamIdToNamesForServer(); | ||
|
||
/// <summary> | ||
/// Reloads teams from the roles | ||
/// </summary> | ||
/// <returns>Returns the message to report after the roles were reloaded</returns> | ||
string ReloadTeamRoles(); | ||
|
||
/// <summary> | ||
/// Gets a grouping of every player to their team in the server. This will ignore channel permissions for | ||
/// learning who is on a team | ||
/// </summary> | ||
/// <returns>A grouping of team names to PlayerTeamPairs for every team in the server.</returns> | ||
Task<IEnumerable<IGrouping<string, PlayerTeamPair>>> GetPlayerTeamPairsForServer(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.