Beispiel #1
0
        public async Task <bool> UpdateOne(ulong discordID)
        {
            // Ignore everything until the API connection to all guilds is ready.
            if (guilds == null || !roleInitComplete)
            {
                return(false);
            }


            if (!await _data.UserTracked(discordID))
            {
                return(false);
            }

            string uplayId = await _data.QueryMapping(discordID);

            await RefreshRank(discordID, uplayId);

            return(true);
        }