Skip to content

Commit

Permalink
Merge branch 'dev' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
BrammyS committed Nov 11, 2021
2 parents b1e0474 + 417fda6 commit 83367c3
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
using Color_Chan.Discord.Commands.Attributes.ProvidedRequirements;
using Color_Chan.Discord.Commands.Models;
using Color_Chan.Discord.Commands.Models.Contexts;
using Color_Chan.Discord.Core.Common.API.DataModels;
using Color_Chan.Discord.Core.Common.API.DataModels.Interaction;
using Color_Chan.Discord.Core.Results;
using Color_Chan.Discord.Rest.Models;
using Color_Chan.Discord.Rest.Models.Interaction;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
Expand Down Expand Up @@ -55,6 +57,10 @@ public async Task Should_detect_rate_limit(Tuple<RateLimitInfo, bool> tuple)
var rateLimitAttribute = new GuildRateLimitAttribute(rateLimitServer.Remaining, 60);
var context = new SlashCommandContext
{
User = new DiscordUser(new DiscordUserData
{
Id = ulong.MaxValue
}),
GuildId = ulong.MaxValue,
Data = new DiscordInteractionRequest(new DiscordInteractionRequestData
{
Expand Down

0 comments on commit 83367c3

Please sign in to comment.