コード例 #1
0
        private async Task AddUser(SocketUser userInfo)
        {
            var table = await _tableStorage.CreateTableAsync(nameof(userInfo));

            var newUser = new UserEntity(userInfo.Discriminator, userInfo.Username);
            await _tableStorage.InsertOrMergeEntityAsync(table, newUser);
        }