refactor: don't use 'out' in IDiscordCache methods
this change is required for async cache (.NET doesn't support async ref/out params)
This commit is contained in:
@@ -436,7 +436,7 @@ namespace PluralKit.Bot
|
||||
{
|
||||
ctx.CheckSystem();
|
||||
|
||||
var guild = ctx.MatchGuild() ?? ctx.Guild ??
|
||||
var guild = await ctx.MatchGuild() ?? ctx.Guild ??
|
||||
throw new PKError("You must run this command in a server or pass a server ID.");
|
||||
|
||||
var gs = await _repo.GetSystemGuild(guild.Id, ctx.System.Id);
|
||||
|
||||
Reference in New Issue
Block a user