feat(dashboard): working ignored channels page
This commit is contained in:
parent
1c43beb82f
commit
bccf7caf34
13 changed files with 304 additions and 8 deletions
|
|
@ -29,4 +29,21 @@ public interface IMemberCache
|
|||
public Task MarkAsCachedAsync(Snowflake guildId);
|
||||
public Task MarkAsUncachedAsync(Snowflake guildId);
|
||||
public Task UpdateAsync(IGuildMemberUpdate newMember);
|
||||
|
||||
// These methods can be stubbed out for any implementation that isn't intended for use with the dashboard.
|
||||
public Task SetMemberNamesAsync(Snowflake guildId, IEnumerable<IGuildMember> members);
|
||||
|
||||
public Task UpdateMemberNameAsync(
|
||||
Snowflake guildId,
|
||||
Snowflake userId,
|
||||
string prevName,
|
||||
string newName
|
||||
);
|
||||
|
||||
public Task<IEnumerable<(string Name, string Id)>> GetMemberNamesAsync(
|
||||
Snowflake guildId,
|
||||
string prefix
|
||||
);
|
||||
|
||||
public Task TryRemoveMemberNameAsync(Snowflake guildId, string username);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue