Table of Contents

Method GetAccountAsync

Namespace
Pillars.Core.Accounts.Services
Assembly
Pillars.dll

GetAccountAsync(ulong)

Returns the a possible account for a given discordId. Returns null on error if no account is present.

public Task<Account?> GetAccountAsync(ulong discordId)

Parameters

discordId ulong

Returns

Task<Account>

GetAccountAsync(string)

Returns the a possible account for a given accountId. Returns null on error if no account is present.

public Task<Account?> GetAccountAsync(string accountId)

Parameters

accountId string

Returns

Task<Account>