public async Task AdminBalance(CommandContext ctx) { //Locks command to Planetarium Server and Server Owner. //if (ctx.Guild.Id == 539405872346955788 && ctx.Member.IsOwner) if (ctx.Guild.Id == 826783795842777098) //Test Server { var username = ctx.Member.Username; var oldmessage = ctx.Message; TipModel profile = new TipModel(); var comms = new Communication(); Console.WriteLine("Balance Called"); //get user's profile and check if they are an admin, if not don't acknowledge the command exists. profile = await Tips.ProfileExistsNew(ctx.Member.Id); if (profile.Role == "Admin") { var eyes = DiscordEmoji.FromName(ctx.Client, ":eyes:"); await ctx.Message.CreateReactionAsync(eyes).ConfigureAwait(false); var value = Tips.AdminBalanceCheck(); await comms.AdminBalance(ctx, oldmessage, username, value.Result); } } }