public GrantPermissionToUserAsync() { _discordGuild = MockHelper.CreateDiscordGuild(0); _discordUser = MockHelper.CreateDiscordUser(0); _permission = new TestPermission(); }
public RevokePermissionFromUserAsync() { _discordGuild = MockHelper.CreateDiscordGuild(0); _discordUser = MockHelper.CreateDiscordUser(0); _permission = new TestPermission(); }
public override async Task InitializeAsync() { await base.InitializeAsync(); var discordUser = MockHelper.CreateDiscordUser(0); var user = await this.Users.AddUserAsync(discordUser); _user = user.Entity; }
public AddUserAsync() { _discordUser = MockHelper.CreateDiscordUser(0); }
public HasUserConsentedAsync() { _discordUser = MockHelper.CreateDiscordUser(0); }
public GrantUserConsentAsync() { _discordUser = MockHelper.CreateDiscordUser(0); }
public GetOrRegisterUserAsync() { _discordUser = MockHelper.CreateDiscordUser(0); }
public RevokeUserConsentAsync() { _discordUser = MockHelper.CreateDiscordUser(0); }
public IsUserKnownAsync() { _discordUser = MockHelper.CreateDiscordUser(0); }